Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *************************TOP(sorted accoring to mem(M) , with threads(H)********************
- top - 15:40:31 up 11 min, 2 users, load average: 0.55, 0.34, 0.21
- Tasks: 115 total, 2 running, 113 sleeping, 0 stopped, 0 zombie
- Cpu(s): 1.5%us, 0.8%sy, 0.0%ni, 87.7%id, 9.9%wa, 0.0%hi, 0.1%si, 0.0%st
- Mem: 6221456k total, 391568k used, 5829888k free, 23120k buffers
- Swap: 0k total, 0k used, 0k free, 202800k cached
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 1638 nobody 20 0 20872 7384 6100 S 7 0.1 0:12.34 /usr/sbin/smbd -D
- 1523 root 20 0 14948 5020 564 S 0 0.1 0:00.00 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1524 root 20 0 14948 5020 564 S 1 0.1 0:01.83 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1525 root 20 0 14948 5020 564 S 1 0.1 0:01.94 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1531 root 20 0 14948 5020 564 S 1 0.1 0:01.82 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1342 root 20 0 16532 3832 3100 S 0 0.1 0:00.01 /usr/sbin/smbd -D
- 1639 root 20 0 6876 1952 1496 S 0 0.0 0:00.01 in.telnetd: 192.168.0.8
- 1340 root 20 0 10004 1936 1392 S 0 0.0 0:00.01 /usr/sbin/nmbd -D
- 1543 root 20 0 6876 1936 1484 S 0 0.0 0:00.01 in.telnetd: 192.168.0.8
- 1353 root 20 0 16532 1932 1200 S 0 0.0 0:00.00 /usr/sbin/smbd -D
- 1355 avahi 20 0 3052 1588 1348 S 0 0.0 0:00.01 avahi-daemon: running [Storage.local]
- 1545 root 20 0 4304 1552 1212 S 0 0.0 0:00.01 -bash
- 1640 root 20 0 4300 1548 1212 S 0 0.0 0:00.00 -bash
- 1289 root 20 0 5700 1492 1160 S 0 0.0 0:00.08 /usr/local/sbin/emhttp
- 1541 root 20 0 5700 1492 1160 S 0 0.0 0:00.07 /usr/local/sbin/emhttp
- 770 root 16 -4 2396 1004 496 S 0 0.0 0:00.06 /sbin/udevd --daemon
- 1649 root 20 0 2468 1000 756 R 0 0.0 0:00.05 top
- 1094 root 18 -2 2392 948 440 S 0 0.0 0:00.00 /sbin/udevd --daemon
- 1243 root 20 0 2108 820 688 S 0 0.0 0:00.00 /sbin/rpc.statd
- 1095 root 18 -2 2392 808 300 S 0 0.0 0:00.00 /sbin/udevd --daemon
- 1193 root 20 0 2072 768 524 S 0 0.0 0:00.03 /usr/sbin/syslogd -m0
- 1262 root 20 0 1864 644 548 S 0 0.0 0:00.00 /usr/sbin/acpid
- 1272 messageb 20 0 3368 612 460 S 0 0.0 0:00.00 /usr/bin/dbus-daemon --system
- 1277 root 20 0 1908 612 536 S 0 0.0 0:00.00 /usr/sbin/crond -l notice
- 1253 root 20 0 1900 544 472 S 0 0.0 0:00.00 /usr/sbin/inetd
- 1294 root 20 0 1856 536 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty5 linux
- 1290 root 20 0 1856 532 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty1 linux
- 1291 root 20 0 1856 532 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty2 linux
- 1293 root 20 0 1856 532 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty4 linux
- 1295 root 20 0 1856 532 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty6 linux
- 1292 root 20 0 1856 528 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty3 linux
- 1364 root 20 0 2036 520 428 S 0 0.0 0:00.00 /usr/sbin/avahi-dnsconfd -D
- 1514 root 20 0 8096 492 224 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1515 root 20 0 8096 492 224 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1516 root 20 0 8096 492 224 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1239 bin 20 0 2852 480 400 S 0 0.0 0:00.00 /sbin/rpc.portmap
- 1197 root 20 0 1856 388 320 S 0 0.0 0:00.02 /usr/sbin/klogd -c 3 -x
- 1356 avahi 20 0 2912 388 212 S 0 0.0 0:00.00 avahi-daemon: chroot helper
- 1279 daemon 20 0 1900 292 220 S 0 0.0 0:00.00 /usr/sbin/atd -b 15 -l 1
- 1 root 20 0 828 280 240 S 0 0.0 0:06.69 init
- 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.01 [ksoftirqd/0]
- 5 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/0:0H]
- 7 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/u:0H]
- 8 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/0]
- 9 root 20 0 0 0 0 S 0 0.0 0:00.00 [rcu_bh]
- 10 root 20 0 0 0 0 S 0 0.0 0:00.03 [rcu_sched]
- 11 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/1]
- 12 root 20 0 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/1]
- 13 root 20 0 0 0 0 S 0 0.0 0:00.00 [kworker/1:0]
- 14 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/1:0H]
- 15 root RT 0 0 0 0 S 0 0.0 0:00.05 [migration/2]
- 16 root 20 0 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/2]
- 17 root 20 0 0 0 0 S 0 0.0 0:00.00 [kworker/2:0]
- 18 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/2:0H]
- 19 root RT 0 0 0 0 S 0 0.0 0:00.08 [migration/3]
- ******************************FREE -m -l****************************
- root@Storage:~# free -m -l
- total used free shared buffers cached
- Mem: 6075 391 5683 0 25 198
- Low: 824 164 659
- High: 5250 227 5023
- -/+ buffers/cache: 168 5907
- 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:/mnt/user/Series# 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) 48346
- 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) 48346
- virtual memory (kbytes, -v) unlimited
- file locks (-x) unlimited
- ****************************slabtop -s c********************************
- Active / Total Objects (% used) : 1317677 / 1436004 (91.8%)
- Active / Total Slabs (% used) : 48081 / 48081 (100.0%)
- Active / Total Caches (% used) : 50 / 98 (51.0%)
- Active / Total Size (% used) : 300575.09K / 313628.55K (95.8%)
- Minimum / Average / Maximum Object : 0.01K / 0.22K / 16.12K
- OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
- 328130 328130 100% 0.41K 17270 19 138160K reiser_inode_cache
- 174616 168667 96% 0.30K 6716 26 53728K radix_tree_node
- 116640 116640 100% 0.44K 6480 18 51840K fuse_inode
- 352288 280903 79% 0.12K 11009 32 44036K dentry
- 168896 146951 87% 0.06K 2639 64 10556K kmalloc-64
- 110887 105612 95% 0.05K 1519 73 6076K buffer_head
- 131072 120176 91% 0.03K 1024 128 4096K kmalloc-32
- 1284 1284 100% 2.58K 107 12 3424K unraid/md
- 5950 5950 100% 0.31K 238 25 1904K inode_cache
- 18984 17016 89% 0.09K 452 42 1808K kmalloc-96
- 200 200 100% 4.00K 25 8 800K kmalloc-4096
- 1056 929 87% 0.50K 66 16 528K kmalloc-512
- 2121 1834 86% 0.19K 101 21 404K kmalloc-192
- 1100 1100 100% 0.35K 50 22 400K shmem_inode_cache
- 1127 1127 100% 0.34K 49 23 392K proc_inode_cache
- 264 264 100% 1.31K 11 24 352K sighand_cache
- 320 320 100% 1.00K 20 16 320K kmalloc-1024
- 342 342 100% 0.84K 19 18 304K task_struct
- 2144 1649 76% 0.12K 67 32 268K kmalloc-128
- 128 128 100% 2.00K 8 16 256K kmalloc-2048
- 240 240 100% 1.05K 8 30 256K idr_layer_cache
- 16 16 100% 8.00K 4 4 128K kmalloc-8192
- 120 120 100% 1.04K 4 30 128K blkdev_queue
- 4 4 100% 16.12K 4 1 128K cifs_request
- 3200 3200 100% 0.03K 25 128 100K anon_vma
- 2125 2125 100% 0.05K 25 85 100K Acpi-State
- 216 216 100% 0.44K 12 18 96K mm_struct
- 63 63 100% 1.50K 3 21 96K biovec-128
- 78 78 100% 1.19K 3 26 96K TCP
- 304 304 100% 0.25K 19 16 76K kmalloc-256
- 20 20 100% 3.00K 2 10 64K biovec-256
- 3840 3840 100% 0.02K 15 256 60K kmalloc-16
- 147 147 100% 0.38K 7 21 56K sock_inode_cache
- 96 96 100% 0.50K 6 16 48K bdev_cache
- 84 84 100% 0.56K 3 28 48K UDP
- 198 198 100% 0.21K 11 18 44K blkdev_requests
- 4608 4608 100% 0.01K 9 512 36K kmalloc-8
- 1530 1530 100% 0.02K 9 170 36K nsproxy
- 224 224 100% 0.14K 8 28 32K sigqueue
- 84 84 100% 0.38K 4 21 32K skbuff_fclone_cache
- 42 42 100% 0.75K 2 21 32K biovec-64
- 56 56 100% 0.56K 2 28 32K RAW
- 80 80 100% 0.39K 4 20 32K fat_inode_cache
- 120 120 100% 0.27K 4 30 32K fuse_request
- 160 160 100% 0.12K 5 32 20K kmem_cache
- 144 144 100% 0.11K 4 36 16K file_lock_cache
- 224 224 100% 0.07K 4 56 16K dnotify_mark
- 384 384 100% 0.03K 3 128 12K kmem_cache_node
- 16 16 100% 0.50K 1 16 8K mqueue_inode_cache
- 32 32 100% 0.12K 1 32 4K tw_sock_TCP
- 0 0 0% 0.09K 0 42 0K dma-kmalloc-96
- 0 0 0% 0.19K 0 21 0K dma-kmalloc-192
- 0 0 0% 0.01K 0 512 0K dma-kmalloc-8
- 0 0 0% 0.02K 0 256 0K dma-kmalloc-16
- 0 0 0% 0.03K 0 128 0K dma-kmalloc-32
- *****************top after running above commands*************
- top - 16:27:03 up 57 min, 2 users, load average: 0.01, 0.37, 0.70
- Tasks: 117 total, 1 running, 116 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: 6221456k total, 1067976k used, 5153480k free, 420516k buffers
- Swap: 0k total, 0k used, 0k free, 202880k cached
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 1523 root 20 0 37920 22m 564 S 0 0.4 0:00.00 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1524 root 20 0 37920 22m 564 S 0 0.4 0:37.86 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1525 root 20 0 37920 22m 564 S 0 0.4 0:38.04 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1531 root 20 0 37920 22m 564 S 0 0.4 0:37.73 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1652 root 20 0 37920 22m 564 S 0 0.4 0:35.75 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1653 root 20 0 37920 22m 564 S 0 0.4 0:35.70 /usr/local/sbin/shfs /mnt/user -disks 16777215 2000000 -o noatime,big_writes,allow_other -o remember=0
- 1638 nobody 20 0 21896 8396 6856 S 0 0.1 3:46.68 /usr/sbin/smbd -D
- 1342 root 20 0 16532 3832 3100 S 0 0.1 0:00.01 /usr/sbin/smbd -D
- 1639 root 20 0 6876 1952 1496 S 0 0.0 0:00.01 in.telnetd: 192.168.0.8
- 1340 root 20 0 10004 1936 1392 S 0 0.0 0:00.03 /usr/sbin/nmbd -D
- 1543 root 20 0 6876 1936 1484 S 0 0.0 0:00.02 in.telnetd: 192.168.0.8
- 1353 root 20 0 16532 1932 1200 S 0 0.0 0:00.00 /usr/sbin/smbd -D
- 1545 root 20 0 4308 1752 1328 S 0 0.0 0:00.02 -bash
- 1355 avahi 20 0 3052 1588 1348 S 0 0.0 0:00.01 avahi-daemon: running [Storage.local]
- 1640 root 20 0 4300 1548 1212 S 0 0.0 0:00.00 -bash
- 1289 root 20 0 5700 1492 1160 S 0 0.0 0:00.08 /usr/local/sbin/emhttp
- 1541 root 20 0 5700 1492 1160 S 0 0.0 0:00.44 /usr/local/sbin/emhttp
- 1673 root 20 0 2468 1084 824 R 0 0.0 0:00.04 top
- 770 root 16 -4 2396 1004 496 S 0 0.0 0:00.06 /sbin/udevd --daemon
- 1094 root 18 -2 2392 948 440 S 0 0.0 0:00.00 /sbin/udevd --daemon
- 1243 root 20 0 2108 820 688 S 0 0.0 0:00.00 /sbin/rpc.statd
- 1095 root 18 -2 2392 808 300 S 0 0.0 0:00.00 /sbin/udevd --daemon
- 1193 root 20 0 2072 768 524 S 0 0.0 0:00.03 /usr/sbin/syslogd -m0
- 1262 root 20 0 1864 644 548 S 0 0.0 0:00.00 /usr/sbin/acpid
- 1272 messageb 20 0 3368 612 460 S 0 0.0 0:00.00 /usr/bin/dbus-daemon --system
- 1277 root 20 0 1908 612 536 S 0 0.0 0:00.00 /usr/sbin/crond -l notice
- 1253 root 20 0 1900 544 472 S 0 0.0 0:00.00 /usr/sbin/inetd
- 1294 root 20 0 1856 536 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty5 linux
- 1290 root 20 0 1856 532 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty1 linux
- 1291 root 20 0 1856 532 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty2 linux
- 1293 root 20 0 1856 532 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty4 linux
- 1295 root 20 0 1856 532 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty6 linux
- 1292 root 20 0 1856 528 472 S 0 0.0 0:00.00 /sbin/agetty 38400 tty3 linux
- 1364 root 20 0 2036 520 428 S 0 0.0 0:00.00 /usr/sbin/avahi-dnsconfd -D
- 1514 root 20 0 8096 492 224 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1515 root 20 0 8096 492 224 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1516 root 20 0 8096 492 224 S 0 0.0 0:00.00 /usr/local/sbin/shfs /mnt/user0 -disks 16777214 -o noatime,big_writes,allow_other
- 1239 bin 20 0 2852 480 400 S 0 0.0 0:00.00 /sbin/rpc.portmap
- 1197 root 20 0 1856 388 320 S 0 0.0 0:00.02 /usr/sbin/klogd -c 3 -x
- 1356 avahi 20 0 2912 388 212 S 0 0.0 0:00.00 avahi-daemon: chroot helper
- 1279 daemon 20 0 1900 292 220 S 0 0.0 0:00.00 /usr/sbin/atd -b 15 -l 1
- 1 root 20 0 828 280 240 S 0 0.0 0:06.70 init
- 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.17 [ksoftirqd/0]
- 5 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/0:0H]
- 7 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/u:0H]
- 8 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/0]
- 9 root 20 0 0 0 0 S 0 0.0 0:00.00 [rcu_bh]
- 10 root 20 0 0 0 0 S 0 0.0 0:00.38 [rcu_sched]
- 11 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/1]
- 12 root 20 0 0 0 0 S 0 0.0 0:00.10 [ksoftirqd/1]
- 13 root 20 0 0 0 0 S 0 0.0 0:00.02 [kworker/1:0]
- 14 root 0 -20 0 0 0 S 0 0.0 0:00.00 [kworker/1:0H]
- 15 root RT 0 0 0 0 S 0 0.0 0:00.05 [migration/2]
- 16 root 20 0 0 0 0 S 0 0.0 0:00.03 [ksoftirqd/2]
- 17 root 20 0 0 0 0 S 0 0.0 0:00.00 [kworker/2:0]
- ***************free -m after above commands******
- root@Storage:/mnt/user/Series# free -m -l
- total used free shared buffers cached
- Mem: 6075 1042 5032 0 410 198
- Low: 824 797 27
- High: 5250 245 5005
- -/+ buffers/cache: 433 5641
- Swap: 0 0 0
- root@Storage:/mnt/user/Series#
- **********************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement