Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a legacy Linux System which has some processes ( manually or automatically started ) running under different users. The server is not restarted since long time, and current staff doesn't know what specifically must be run there and what to start manually after restart.

I have to do a storage migration so that, I'll shutdown and restart it.

In Windows, I can open services.msc and note "manually started" and "automatically but stopped" processes for proper restart even if I don't know what is running there.

What is the procedure for Linux to learn exactly what to restart or what to stop and how to do it after proper reboot ?

share|improve this question
    
which linux variant ? –  Sirex Feb 17 '13 at 22:08
    
For example rhel 5 –  Half Diminished Feb 17 '13 at 22:11
    
What is the uptime of the system? –  ewwhite Feb 17 '13 at 22:35
    
Uptime is 712 days –  Half Diminished Feb 17 '13 at 22:39

1 Answer 1

Under a RHEL or CentOS-based system, pay attention to what services are set to run by checking the chkconfig list or ntsysv commands.

For any individual processes that run under particular users, take note of them. See if you can identify the programs in a ps -ef output, for example.

share|improve this answer
1  
Can you set up a copy to experiment? You should consider installing and upgrading a new machine, and migrating this stuff there (2 years without kernel and other updates... shudder). –  vonbrand Feb 18 '13 at 2:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.