Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *************************TOP(sorted accoring to mem(M) , with threads(H)********************
- top - 10:02:54 up 16 min, 1 user, load average: 0.06, 0.05, 0.05
- Tasks: 120 total, 1 running, 119 sleeping, 0 stopped, 0 zombie
- Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
- Mem: 6105164k total, 1011556k used, 5093608k free, 7172k buffers
- Swap: 0k total, 0k used, 0k free, 803920k cached
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 1660 nobody 20 0 277m 7724 5696 S 0 0.1 0:00.47 /usr/sbin/smbd -D
- 1639 root 20 0 277m 7664 5776 S 0 0.1 0:00.43 /usr/sbin/smbd -D
- 1381 root 20 0 260m 7220 5476 S 0 0.1 0:00.03 /usr/sbin/smbd -D
- 1686 root 20 0 177m 5040 3864 S 0 0.1 0:00.02 in.telnetd: 192.168.0.8
- 1379 root 20 0 183m 2864 1696 S 0 0.0 0:00.03 /usr/sbin/nmbd -D
- 1710 root 20 0 13308 2056 1468 S 0 0.0 0:00.01 -bash
- 1615 root 20 0 215m 1980 852 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1616 root 20 0 215m 1980 852 S 0 0.0 0:00.37 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1617 root 20 0 215m 1980 852 S 0 0.0 0:00.37 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1624 root 20 0 215m 1980 852 S 0 0.0 0:00.36 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1389 root 20 0 84704 1944 1480 S 0 0.0 0:00.15 /usr/local/sbin/emhttp
- 1634 root 20 0 84704 1944 1480 S 0 0.0 0:00.10 /usr/local/sbin/emhttp
- 1459 avahi 20 0 30164 1824 1464 S 0 0.0 0:00.01 avahi-daemon: running [Storage.local]
- 822 root 20 0 21772 1368 816 S 0 0.0 0:00.19 /sbin/udevd --daemon
- 1717 root 20 0 13272 1324 1024 R 0 0.0 0:00.04 top
- 1337 root 20 0 23792 1248 840 S 0 0.0 0:00.00 /usr/sbin/sshd
- 1059 root 20 0 6792 1012 572 S 0 0.0 0:00.02 /usr/sbin/syslogd -m0
- 1608 root 20 0 21768 984 432 S 0 0.0 0:00.00 /sbin/udevd --daemon
- 1604 root 20 0 148m 956 524 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1605 root 20 0 148m 956 524 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1606 root 20 0 148m 956 524 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1319 rpc 20 0 12824 940 776 S 0 0.0 0:00.00 /sbin/rpc.statd
- 1394 root 20 0 6460 816 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty5 linux
- 1391 root 20 0 6460 812 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty2 linux
- 1392 root 20 0 6460 812 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty3 linux
- 1395 root 20 0 6460 812 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty6 linux
- 1390 root 20 0 6460 804 696 S 0 0.0 0:00.00 /sbin/agetty --noclear 38400 tty1 linux
- 1393 root 20 0 6460 804 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty4 linux
- 1370 root 20 0 6456 704 596 S 0 0.0 0:00.00 /usr/sbin/crond -l notice
- 1 root 20 0 4356 696 600 S 0 0.0 0:12.35 init
- 1346 root 20 0 4372 656 544 S 0 0.0 0:00.00 /usr/sbin/acpid
- 1358 messageb 20 0 17420 652 452 S 0 0.0 0:00.00 /usr/bin/dbus-daemon --system
- 1329 root 20 0 6448 636 536 S 0 0.0 0:00.00 /usr/sbin/inetd
- 1467 root 20 0 12732 572 456 S 0 0.0 0:00.00 /usr/sbin/avahi-dnsconfd -D
- 1315 bin 20 0 7412 528 420 S 0 0.0 0:00.00 /sbin/rpc.portmap
- 1063 root 20 0 4360 424 340 S 0 0.0 0:00.01 /usr/sbin/klogd -c 3 -x
- 1372 daemon 20 0 6448 312 212 S 0 0.0 0:00.00 /usr/sbin/atd -b 15 -l 1
- 2 root 20 0 0 0 0 S 0 0.0 0:00.00 [kthreadd]
- 3 root 20 0 0 0 0 S 0 0.0 0:00.04 [ksoftirqd/0]
- 5 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/0:0H]
- 7 root RT 0 0 0 0 S 0 0.0 0:00.07 [migration/0]
- 8 root 20 0 0 0 0 S 0 0.0 0:00.00 [rcu_bh]
- 9 root 20 0 0 0 0 S 0 0.0 0:00.02 [rcu_sched]
- 10 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/1]
- 11 root 20 0 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/1]
- 13 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/1:0H]
- 14 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/2]
- 15 root 20 0 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/2]
- 17 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/2:0H]
- 18 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/3]
- 19 root 20 0 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/3]
- 21 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/3:0H]
- 22 root 0 -20 0 0 0 S 0 0.0 0:00.00 [khelper]
- 23 root 20 0 0 0 0 S 0 0.0 0:00.00 [kdevtmpfs]
- 24 root 0 -20 0 0 0 S 0 0.0 0:00.00 [netns]
- 188 root 0 -20 0 0 0 S 0 0.0 0:00.00 [writeback]
- ******************************FREE -m -l****************************
- root@Storage:~# free -m -l
- total used free shared buffers cached
- Mem: 5962 988 4973 0 7 785
- Low: 5962 988 4973
- High: 0 0 0
- -/+ buffers/cache: 196 5765
- Swap: 0 0 0
- *************************Folder size*************************************
- root@Storage:/mnt/user/Movies# du -h --max-depth=1
- 158G ./(0-9)
- 549G ./A
- 571G ./B
- 409G ./C
- 385G ./D
- 197G ./E
- 259G ./G
- 315G ./H
- 215G ./I
- 159G ./J
- 107G ./K
- 249G ./L
- 405G ./M
- 119G ./N
- 121G ./O
- 315G ./P
- 288G ./R
- 689G ./S
- 2.0T ./T
- 75G ./U
- 62G ./V
- 200G ./W
- 35G ./Y
- 0 ./_new
- 27G ./Z
- 281G ./F
- 13G ./Q
- 17G ./X
- 8.0T .
- root@Storage:/mnt/user/Series# du -h --max-depth=1
- 328G ./#
- 889G ./A
- 1.4T ./B
- 1.2T ./C
- 848G ./D
- 467G ./E
- 751G ./F
- 556G ./G
- 779G ./H
- 217G ./I
- 263G ./J
- 250G ./K
- 972G ./L
- 1.4T ./M
- 453G ./N
- 339G ./O
- 583G ./P
- 448G ./R
- 2.0T ./S
- 931G ./T
- 207G ./V
- 678G ./W
- 96G ./Q
- 156G ./U
- 166G ./X
- 22G ./Y
- 3.4G ./Z
- 16T .
- ************************UNIQUE FILES**************
- root@Storage:/mnt/user/Movies# du -a | cut -d/ -f2 | sort | uniq -c | sort -nr
- 37626 T
- 16139 B
- 15256 S
- 10402 C
- 9218 D
- 8424 A
- 8185 M
- 7037 F
- 6576 H
- 6538 R
- 5676 P
- 5312 G
- 5012 L
- 4604 I
- 4583 W
- 3667 E
- 3154 J
- 3051 N
- 2475 O
- 1926 K
- 1743 U
- 1458 V
- 961 Y
- 807 (0-9)
- 719 Z
- 662 X
- 214 Q
- root@Storage:/mnt/user/Series# du -a | cut -d/ -f2 | sort | uniq -c | sort -nr
- 40441 S
- 25941 M
- 25887 B
- 23058 C
- 18323 L
- 16775 A
- 16753 T
- 15729 F
- 15633 D
- 14552 H
- 12506 W
- 11923 P
- 11408 G
- 9829 E
- 9066 R
- 8953 N
- 7033 #
- 6287 J
- 6159 O
- 5391 K
- 4781 I
- 3274 V
- 3156 X
- 2954 U
- 1498 Q
- 226 Y
- 75 Z
- **********************************ulimit -a*************************
- root@Storage:/# ulimit -a
- core file size (blocks, -c) unlimited
- data seg size (kbytes, -d) unlimited
- scheduling priority (-e) 0
- file size (blocks, -f) unlimited
- pending signals (-i) 47061
- max locked memory (kbytes, -l) unlimited
- max memory size (kbytes, -m) unlimited
- open files (-n) 40960
- pipe size (512 bytes, -p) 8
- POSIX message queues (bytes, -q) 819200
- real-time priority (-r) 0
- stack size (kbytes, -s) unlimited
- cpu time (seconds, -t) unlimited
- max user processes (-u) 47061
- virtual memory (kbytes, -v) unlimited
- file locks (-x) unlimited
- ****************************slabtop -s c********************************
- Active / Total Objects (% used) : 3617410 / 3619483 (99.9%)
- Active / Total Slabs (% used) : 125729 / 125729 (100.0%)
- Active / Total Caches (% used) : 55 / 106 (51.9%)
- Active / Total Size (% used) : 1125846.76K / 1126366.85K (100.0%)
- Minimum / Average / Maximum Object : 0.01K / 0.31K / 16.12K
- OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
- 504344 504344 100% 0.68K 21928 23 350848K reiser_inode_cache
- 489095 489095 100% 0.69K 21265 23 340240K fuse_inode
- 1145634 1144980 99% 0.19K 54554 21 218216K dentry
- 247240 247240 100% 0.55K 8830 28 141280K radix_tree_node
- 421120 421120 100% 0.06K 6580 64 26320K kmalloc-64
- 206583 206583 100% 0.10K 5297 39 21188K buffer_head
- 490240 490240 100% 0.03K 3830 128 15320K kmalloc-32
- 19740 19740 100% 0.53K 658 30 10528K inode_cache
- 1284 1284 100% 4.58K 214 6 6848K unraid/md
- 37086 37086 100% 0.09K 883 42 3532K kmalloc-96
- 19620 19620 100% 0.11K 545 36 2180K sysfs_dir_cache
- 264 264 100% 4.00K 33 8 1056K kmalloc-4096
- 896 818 91% 1.00K 56 16 896K kmalloc-1024
- 1456 1428 98% 0.60K 56 26 896K shmem_inode_cache
- 368 336 91% 2.00K 23 16 736K kmalloc-2048
- 5376 4839 90% 0.12K 168 32 672K kmalloc-128
- 962 962 100% 0.59K 37 26 592K proc_inode_cache
- 270 270 100% 2.06K 18 15 576K sighand_cache
- 323 323 100% 1.62K 17 19 544K task_struct
- 2160 1827 84% 0.25K 135 16 540K kmalloc-256
- 3105 3105 100% 0.17K 135 23 540K vm_area_struct
- 2814 2772 98% 0.19K 134 21 536K kmalloc-192
- 195 195 100% 2.06K 13 15 416K idr_layer_cache
- 425 378 88% 0.94K 25 17 400K signal_cache
- 592 555 93% 0.50K 37 16 296K kmalloc-512
- 24 24 100% 8.00K 6 4 192K kmalloc-8192
- 3072 2787 90% 0.06K 48 64 192K anon_vma
- 96 96 100% 1.90K 6 16 192K blkdev_queue
- 275 275 100% 0.62K 11 25 176K sock_inode_cache
- 250 250 100% 0.62K 10 25 160K files_cache
- 190 190 100% 0.81K 10 19 160K mm_struct
- 2128 2128 100% 0.07K 38 56 152K Acpi-ParseExt
- 374 374 100% 0.36K 17 22 136K blkdev_requests
- 76 76 100% 1.62K 4 19 128K TCP
- 4 4 100% 16.12K 4 1 128K cifs_request
- 95 95 100% 0.81K 5 19 80K bdev_cache
- 120 120 100% 0.66K 5 24 80K fat_inode_cache
- 76 76 100% 0.81K 4 19 64K UDP
- 3584 3584 100% 0.02K 14 256 56K kmalloc-16
- 1326 1326 100% 0.04K 13 102 52K Acpi-Namespace
- 125 125 100% 0.31K 5 25 40K sas_task
- 144 144 100% 0.25K 9 16 36K kmem_cache
- 4608 4608 100% 0.01K 9 512 36K kmalloc-8
- 408 408 100% 0.08K 8 51 32K Acpi-State
- 80 80 100% 0.39K 4 20 32K fuse_request
- 175 175 100% 0.16K 7 25 28K sigqueue
- 320 320 100% 0.06K 5 64 20K kmem_cache_node
- 340 340 100% 0.05K 4 85 16K nsproxy
- 21 21 100% 0.75K 1 21 16K RAW
- 36 36 100% 0.44K 2 18 16K xfrm_dst_cache
- 136 136 100% 0.12K 4 34 16K dnotify_mark
- 23 23 100% 0.69K 1 23 16K nfs_commit_data
- 18 18 100% 0.88K 1 18 16K mqueue_inode_cache
- 146 146 100% 0.05K 2 73 8K ip_fib_trie
- 21 21 100% 0.19K 1 21 4K tw_sock_TCP
- *****************top after running above commands*************
- top - 10:41:03 up 55 min, 1 user, load average: 0.34, 0.41, 0.59
- Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
- Cpu(s): 5.3%us, 3.4%sy, 0.0%ni, 90.8%id, 0.0%wa, 0.0%hi, 0.5%si, 0.0%st
- Mem: 6105164k total, 2825676k used, 3279488k free, 622252k buffers
- Swap: 0k total, 0k used, 0k free, 808900k cached
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 1615 root 20 0 428m 96m 864 S 0 1.6 0:00.00 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1616 root 20 0 428m 96m 864 S 1 1.6 0:18.52 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1617 root 20 0 428m 96m 864 S 1 1.6 0:18.14 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1624 root 20 0 428m 96m 864 S 1 1.6 0:18.24 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1730 root 20 0 428m 96m 864 S 1 1.6 0:18.08 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1853 root 20 0 428m 96m 864 S 1 1.6 0:07.24 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1639 xbmc 20 0 283m 12m 10m S 26 0.2 2:31.37 /usr/sbin/smbd -D
- 1660 nobody 20 0 282m 11m 9980 S 3 0.2 0:05.36 /usr/sbin/smbd -D
- 1381 root 20 0 260m 7220 5476 S 0 0.1 0:00.06 /usr/sbin/smbd -D
- 1686 root 20 0 177m 5040 3864 S 0 0.1 0:00.05 in.telnetd: 192.168.0.8
- 1379 root 20 0 183m 2864 1696 S 0 0.0 0:00.09 /usr/sbin/nmbd -D
- 1710 root 20 0 13308 2068 1476 S 0 0.0 0:00.03 -bash
- 1389 root 20 0 84704 1944 1480 S 0 0.0 0:00.33 /usr/local/sbin/emhttp
- 1634 root 20 0 84704 1944 1480 S 0 0.0 0:00.37 /usr/local/sbin/emhttp
- 1459 avahi 20 0 30164 1824 1464 S 0 0.0 0:00.01 avahi-daemon: running [Storage.local]
- 822 root 20 0 21772 1368 816 S 0 0.0 0:00.19 /sbin/udevd --daemon
- 1869 root 20 0 13272 1256 940 R 0 0.0 0:00.11 top
- 1337 root 20 0 23792 1248 840 S 0 0.0 0:00.00 /usr/sbin/sshd
- 1059 root 20 0 6792 1012 572 S 0 0.0 0:00.02 /usr/sbin/syslogd -m0
- 1608 root 20 0 21768 984 432 S 0 0.0 0:00.00 /sbin/udevd --daemon
- 1604 root 20 0 148m 956 524 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1605 root 20 0 148m 956 524 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1606 root 20 0 148m 956 524 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1319 rpc 20 0 12824 940 776 S 0 0.0 0:00.00 /sbin/rpc.statd
- 1394 root 20 0 6460 816 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty5 linux
- 1391 root 20 0 6460 812 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty2 linux
- 1392 root 20 0 6460 812 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty3 linux
- 1395 root 20 0 6460 812 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty6 linux
- 1390 root 20 0 6460 804 696 S 0 0.0 0:00.00 /sbin/agetty --noclear 38400 tty1 linux
- 1393 root 20 0 6460 804 696 S 0 0.0 0:00.00 /sbin/agetty 38400 tty4 linux
- 1370 root 20 0 6456 704 596 S 0 0.0 0:00.00 /usr/sbin/crond -l notice
- 1 root 20 0 4356 696 600 S 0 0.0 0:12.35 init
- 1346 root 20 0 4372 656 544 S 0 0.0 0:00.00 /usr/sbin/acpid
- 1358 messageb 20 0 17420 652 452 S 0 0.0 0:00.00 /usr/bin/dbus-daemon --system
- 1329 root 20 0 6448 636 536 S 0 0.0 0:00.00 /usr/sbin/inetd
- 1467 root 20 0 12732 572 456 S 0 0.0 0:00.00 /usr/sbin/avahi-dnsconfd -D
- 1315 bin 20 0 7412 528 420 S 0 0.0 0:00.00 /sbin/rpc.portmap
- 1063 root 20 0 4360 424 340 S 0 0.0 0:00.01 /usr/sbin/klogd -c 3 -x
- 1372 daemon 20 0 6448 312 212 S 0 0.0 0:00.00 /usr/sbin/atd -b 15 -l 1
- 2 root 20 0 0 0 0 S 0 0.0 0:00.00 [kthreadd]
- 3 root 20 0 0 0 0 S 0 0.0 0:01.45 [ksoftirqd/0]
- 5 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/0:0H]
- 7 root RT 0 0 0 0 S 0 0.0 0:00.07 [migration/0]
- 8 root 20 0 0 0 0 S 0 0.0 0:00.00 [rcu_bh]
- 9 root 20 0 0 0 0 S 0 0.0 0:00.33 [rcu_sched]
- 10 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/1]
- 11 root 20 0 0 0 0 S 0 0.0 0:00.02 [ksoftirqd/1]
- 13 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/1:0H]
- 14 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/2]
- 15 root 20 0 0 0 0 S 0 0.0 0:00.06 [ksoftirqd/2]
- 17 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/2:0H]
- 18 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/3]
- 19 root 20 0 0 0 0 S 0 0.0 0:00.02 [ksoftirqd/3]
- 21 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/3:0H]
- 22 root 0 -20 0 0 0 S 0 0.0 0:00.00 [khelper]
- 23 root 20 0 0 0 0 S 0 0.0 0:00.00 [kdevtmpfs]
- ***************free -m after above commands******
- root@Storage:/# free -m -l
- total used free shared buffers cached
- Mem: 5962 2759 3202 0 607 789
- Low: 5962 2759 3202
- High: 0 0 0
- -/+ buffers/cache: 1361 4600
- Swap: 0 0 0
- **********************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement