HomeBanner

System Administration

General System Administration 1

1. How can I change the default runlevel setting in inittab and keep it changed in ascii login for example ?
2. What is the equivalent of Windows' CTRL ALT DEL in Linux to list all running programs?
3. How can I disable the splash screen ?
4. How can I print a list of installed packages ?
5. How can I use a different machine for logging messages ?
1.

How can I change the default runlevel setting in inittab and keep it changed in ascii login for example ?

It is actually quite simple:

  1. run YaST

  2. System Configuration

  3. Login Configuration

  4. Then select ASCII rather than Graphical

2.

What is the equivalent of Windows' CTRL-ALT-DEL in Linux to list all running programs?

A nice easy one is top (open a terminal and type in top). Should be available on pretty much every flavor of *nix. It lets you see the applications, and how much CPU is dedicated to each app etc.

Assuming you use KDE as your window manager, you could also try the KDE System Guard. It is similar in function to the Windows Task Manager..... In the SuSE menu it is under System->Info->KDE System Guard or if you use the KDE default menus, it is just under System.

With ps -aux you can read the processes running, and if you want to see one specific process, then ps -aux | grep my-procees-name

And pstree gives a nice tree structure of any children processes of any app that may have one..

3.

How can I disable the splash screen ?

  • Add splash=0 to the append line in lilo.conf and run lilo

  • Runtime:

    echo 0 >; /proc/splash 
    
    	

    to turn off. Use 1 to turn on.

4.

How can I print a list of installed packages ?

rpm -qa|sort |more

rpm -qa >> packages.csv This gives a nice little file named packages.csv. Then use Kspread or Star Office and open it like a comma separated values file and then sort, search, etc.

5.

How can I use a different machine for logging messages ?

Edit /etc/sysconfig/syslog on the server and set

SYSLOGD_PARAMS="-r"
	 

The -r option allows remote machines to log to syslog. On the client machine, edit /etc/syslog.conf and add the line(s)

*.*  @server
	  

to log everything to the host named server. You may want to be more selective. The left hand side is the usual syslog.conf patterns.

Don't forget to restart the syslog on both machines after the above editing.


Updated: Tue, 03 Feb 2004
Valid CSS!Valid HTML 4.01!