Here are some commands that we can use to obtain info from a Linux host:
# dmesg -- show bootup messages / detected hardware
# top -- show cpu/mem/swap usage and running processes
# mii-tool -- show nic infos
# du -xh | sort -- show disk usage
# ps -exfcl -- show processes running - list
# rpm -qa -- show packages.version installed - (redhat/fedora)
# cat /etc/fstab -- show filesystem table
# cat /proc/cpuinfo -- show cpu information
# cat /proc/devices -- show devices ( /proc "filesystem" shows lots of info)
# cat /proc/meminfo -- show memory
The list continues...i will add some more later
Showing posts with label Lpi. Show all posts
Showing posts with label Lpi. Show all posts
Thursday, September 10, 2009
Thursday, August 20, 2009
Linux Basics - 1
== Linux basic commands ==
The kernel: Monolithic or Modular
A monolithic kernel is one which has support for all hardware, network, and filesystem compiled into a single image file.
A modular kernel is one which has some drivers compiled as object files, which the kernel can load and remove on demand. Loadable modules are kept in
-------Commands that can help --------------------
The kernel: Monolithic or Modular
A monolithic kernel is one which has support for all hardware, network, and filesystem compiled into a single image file.
A modular kernel is one which has some drivers compiled as object files, which the kernel can load and remove on demand. Loadable modules are kept in
/lib/modules.-------Commands that can help --------------------
- # lsmod - list currently loaded modules
- # rmmod - remove a single module
- # insmod - insert a single module
- # depmod - create the database of module dependencies
modules.dep - # modprobe -insert a module and dependencies listed in
modules.dep - # modinfo - list information about the author, license type and module parameters
Subscribe to:
Posts (Atom)