root@dns:/home/pi # apt-get install gcc python-dev python-pip
root@dns:/home/pi # pip install ps_mem
Collecting ps_mem
Downloading ps_mem-3.6.tar.gz
Building wheels for collected packages: ps-mem
Running setup.py bdist_wheel for ps-mem ... done
Stored in directory: /root/.cache/pip/wheels/62/da/b7/06050fabac6563945185c173835cd76dd2ccc273172eb3f5f7
Successfully built ps-mem
Installing collected packages: ps-mem
Successfully installed ps-mem-3.6
root@dns:/home/pi # wget https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py
--2017-11-26 18:43:35-- https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22127 (22K) [text/plain]
Saving to: ‘ps_mem.py’
ps_mem.py 100%[============================================================================>] 21.61K --.-KB/s in 0.03s
2017-11-26 18:43:36 (818 KB/s) - ‘ps_mem.py’ saved [22127/22127]
root@dns:/home/pi # chmod 777 ps_mem.py
root@dns:/home/pi # ./ps_mem.py
Private + Shared = RAM used Program
316.0 KiB + 53.0 KiB = 369.0 KiB sftp-server
276.0 KiB + 144.5 KiB = 420.5 KiB cron
272.0 KiB + 204.5 KiB = 476.5 KiB thd
392.0 KiB + 216.0 KiB = 608.0 KiB agetty (2)
504.0 KiB + 395.0 KiB = 899.0 KiB systemd-timesyncd
584.0 KiB + 478.0 KiB = 1.0 MiB systemd-logind
740.0 KiB + 347.0 KiB = 1.1 MiB dbus-daemon
304.0 KiB + 851.0 KiB = 1.1 MiB avahi-daemon (2)
744.0 KiB + 509.0 KiB = 1.2 MiB su (2)
800.0 KiB + 478.5 KiB = 1.2 MiB (sd-pam)
1.3 MiB + 154.5 KiB = 1.4 MiB systemd-udevd
1.3 MiB + 96.5 KiB = 1.4 MiB rsyslogd
748.0 KiB + 864.0 KiB = 1.6 MiB sudo (2)
1.2 MiB + 430.0 KiB = 1.6 MiB systemd-journald
1.5 MiB + 2.2 MiB = 3.7 MiB systemd (2)
1.7 MiB + 5.5 MiB = 7.2 MiB sshd (7)
16.4 MiB + 1.4 MiB = 17.8 MiB bash (4)
11.7 MiB + 9.2 MiB = 20.9 MiB apache2 (10)
27.6 MiB + 986.5 KiB = 28.5 MiB unbound
---------------------------------
92.6 MiB
=================================
Warning: Swap is not reported by this system.
Seorang Teknisi Jaringan yang pernah berkecimpung di Internet Service Provider (ISP) dan akhirnya memutuskan diri untuk menjadi freelancer yang berdomisili di Solo, Surakarta Hadiningrat.
Melayani jasa pasang Internet berbasis Wireless maupun Fiber Optic, Jasa Pasang Tower/Pipa, Pointing Wireless, Setting Router, CCTV, Hotspot, Proxy, Web Server, Network Managed dan Monitoring
Berbagai saran, kritikan, keluhan dan masukan akan sangat berarti bagi saya. Anda dapat menghubungi/whatsapp saya di nomor:08564-212-8686 atau melalui BBM:2128686
0 comments:
Post a Comment