Difference between revisions of "Linux/Unix:Generic"

From wiki
Jump to navigation Jump to search
(Created page with ";df -P :Report file-system information in parseble format. ;df -h :Report file-system information in easy understandable precision (K, M or G when appropriate).")
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
;df -h
 
;df -h
 
:Report file-system information in easy understandable precision (K, M or G when appropriate).
 
:Report file-system information in easy understandable precision (K, M or G when appropriate).
 +
 +
;top
 +
:List process resource usage. By default having the most CPU-intensive process on top. Press 1 to have usage for each CPU apart.
 +
 +
;lscpu
 +
:List CPU information
 +
 +
;uname -a
 +
:Show kernel version
 +
 +
;mountpoint -q <directory>
 +
:Check if <directory> is in use as mountpoint
 +
 +
 +
=RedHat (RHEL)=
 +
;/etc/redhat-release
 +
:Redhat version installed

Revision as of 21:02, 26 May 2019

df -P
Report file-system information in parseble format.
df -h
Report file-system information in easy understandable precision (K, M or G when appropriate).
top
List process resource usage. By default having the most CPU-intensive process on top. Press 1 to have usage for each CPU apart.
lscpu
List CPU information
uname -a
Show kernel version
mountpoint -q <directory>
Check if <directory> is in use as mountpoint


RedHat (RHEL)

/etc/redhat-release
Redhat version installed