System and Network Configuration
X Configuration
|
|
Library and kernel Dependency Management
Library management:
- ldd - Used to determine shared libraries used by binary files. Type "ldd /bin/ls" to see the shared libraries used by the "ls" command.
- ldconfig - Used to update links and cache for system use of the most recent runtime shared libraries.
Kernel Management:
- lsmod - List currently installed kernel modules.
- depmod - Creates a dependency file, "modules.dep" in the directory "/lib/modules/x.x.x", later used by modprobe to automatically load the relevant modules.
- insmod - Installs a loadable kernel module into the running kernel.
- rmmod - Unloads modules, Ex: rmmod ftape
- modprobe - Used to load a module or set of modules. Loads all modules specified in the file "modules.dep".
General Diagnostic
System resources
- free - Show system memory availability and usage
- df - Show the amount of disk free space on each mounted filesystem.
- du - Show disk usage
- lspci - List PCI devices
- pnpdump - Lists ISA PNP device resource information.
- vmstat - Reports virtual memory statistics.
Other:
- env - List the current environment variables.
- printenv - Print a copy of the environment.
- set - Shows how the environment is set up. This command can be very useful when debugging the environment.
- runlevel - List the current and previous runlevel.
- uname - Print system information. In my case, it prints "Linux".
- dmesg - Show the last kernel messages printed during the last boot.
No comments:
Post a Comment