sort very large file
- font size decrease font size increase font size
- Print Email
LC_ALL=C sort -u --buffer-size=2G --temporary-directory=/root/Desktop/tmp --output=joined_sorted.txt joined.txt uniq joined_sorted.txt joined_sorted_uniqed.txt split bigFileName -l 按行分割 wc -l joined.txt split -l 10000000 joined.txt joined_split_ for f in joined_split_*; do sort -u "$f" > "$f"_sorted done sort -u -m joined_split_*_sorted > final.out
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0009 | 412456 | {main}( ) | .../index.php:0 |
2 | 0.1039 | 4262360 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1039 | 4262360 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4231 | 11453224 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4244 | 11477504 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4258 | 11532832 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4262 | 11560232 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4389 | 11959864 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4389 | 11959864 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4552 | 12610568 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4552 | 12610568 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4619 | 12981608 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4639 | 13001976 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6023 | 15797184 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6023 | 15797184 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6074 | 15970120 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in CentOS 6
- Read 1306 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0009 | 412456 | {main}( ) | .../index.php:0 |
2 | 0.1039 | 4262360 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1039 | 4262360 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4231 | 11453224 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4244 | 11477504 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4258 | 11532832 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4262 | 11560232 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4389 | 11959864 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4389 | 11959864 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4552 | 12610568 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4552 | 12610568 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4619 | 12981608 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4639 | 13001976 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6023 | 15797184 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6023 | 15797184 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6074 | 15970120 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |