ps Report on all active processes ps [options] PID, -u user’s name who started ps currently running on the Linux TTY, time, CMD process ps [-]u system xosview Displays system related xosview (CPU usage, memory usage, swap usage, load average on X Windows system in graphical format) lsmod Lists modules installed in the lsmod /proc/modules lsmod Linux kernel (stored as file on hard disk) insmod Insert/add modules to the running insmod [options] file -m output a load map insmod ne2 Linux kernel. Does NOT load [symbol=value…] -o name module irq = 11 dependent modules as modprobe. io_port = Command Explanation Format Options Example depmod Create dependency file for the depmod [options] modules used by modprobe to modules automatically load the relevant modules modprobe Add a module manually PLUS modprobe [options] -l list all existing modules modprobe ne2 any required supporting modules [modules] irq = 11 Remove a module from the kernel rmmod [option] -r remove all dependent ne2 –r modules modules grep Search file(s) for lines that match grep [options] pattern -i ignore upper and who | grep -i a regular expression pattern [files] lowercase distinction -c count matched lines -l list file names who Show who is logged in to the who [options] [file] -H show headings who -uH system -u idle times
ps Report on all active processes currently running on the Linux system ps [options] PID, TTY, time, CMD -u user’s name who started process ps ps [-]u xosview Displays system related (CPU usage, memory usage, swap usage, load average on X Windows system in graphical format) xosview lsmod Lists modules installed in the Linux kernel (stored as file on hard disk) lsmod /proc/modules lsmod insmod Insert/add modules to the running Linux kernel. Does NOT load dependent modules as modprobe. insmod [options] file [symbol=value…] -m output a load map -o name module insmod ne2 irq = 11 io_port = Command Explanation Format Options Example depmod Create dependency file for the modules used by modprobe to automatically load the relevant modules depmod [options] modules modprobe Add a module manually PLUS any required supporting modules modprobe [options] [modules] -l list all existing modules modprobe ne2 irq = 11 Remove a module from the kernel rmmod [option] modules -r remove all dependent modules –r ne2 grep Search file(s) for lines that match a regular expression pattern grep [options] pattern [files] -i ignore upper and lowercase distinction -c count matched lines -l list file names who | grep -i who Show who is logged in to the system who [options] [file] -H show headings -u idle times who -uH
Commands_changed.docx