

How much RAM does my Ubuntu / Fedora Linux desktop PC have?ħ.
#Open source pc monitoring software free
Sample Output: total used free shared buffers cached free – Show Linux server memory usageįree command shows the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel. # ps -auxf | sort -nr -k 4 | head -10 Show Us Top 10 CPU Consuming Process # ps -p 55977 -o comm= Top 10 Memory Consuming Process # pgrep -u vivek php-cgi Print The Name of PID 55977 # ps -eopid,tt,user,fname,tmout,f,wchan Try To Display Only The Process IDs of Lighttpd

# ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm # ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm # ps -U vivek -u vivek u Configure ps Command Output In a User-Defined Format # ps -eM Let Us Print Every Process Running As User Vivek # ps -eo euser,ruser,suser,fuser,f,comm,label # pstree Get Security Information of Linux Process # ps -AlLm Print All Process On The Server # ps -AlF Display Threads ( LWP and NLWP)
#Open source pc monitoring software full
To turn on extra full mode (it will show command line arguments passed to process): Ps is just like top but provides more information. To select all processes use the -A or -e option: Ps command will report a snapshot of the current processes. For a single CPU system 1 – 3 and SMP systems 6-10 load value might be acceptable. The load can change from system to system. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes. Uptime command can be used to see how long the server has been running. uptime – Tell how long the Linux system has been running w – Find out who is logged on and what they are doing w command displays information about the users currently on the machine, and their processes. Linux Find Out What Process Are Using Swap Space 3. Linux Find Out What Process Are Using Swap SpaceĪnother option is to combine pgrep command with the grep command to find out SWAP usage: See “ How do I find out Linux Resource utilization to detect system bottlenecks?” for more info. # vmstat -m Get Information About Active / Inactive Memory Pages Sample Outputs: procs -memory-swap-io-system-cpu.

The vmstat command reports information about processes, memory, paging, block IO, traps, and cpu activity. How do I Find Out Linux CPU Utilization? 2. Helpful for setting up top for a specific task.Įnables you to interactively select the ordering within top. Useful for quick identification of performance-hungry tasks on a system.Įnters an interactive configuration screen for top. Sorts the display by top consumers of various system resources. Here is a list of useful hot keys: Hot Key Fig.01: Linux top command Commonly Used Hot Keys With top Linux monitoring tools
