Skip to content
Agustí Sánchez edited this page Apr 27, 2015 · 13 revisions

Linux

Ports in use

lsof -i -n -P | grep java

Solaris

Ports in use

pfiles `ls /proc` 2>/dev/null | awk "/^[^ \\t]/{smatch=\$0;next}/port:[ \\t]*${1}/{print smatch, \$0}{next}"

Disk Usage

du

Disk free

df

Free RAM

free

Partion of filesystem

Filesystem a directory is mounted on:

df <dir>

Clone this wiki locally