Linux CentOs Restart Services [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have some applications running on a remote CentOs server. I'd want them to restart in case of any unexpected server failures or shutdown or application crashes. Any suggestions on how could i achieve this ?

Just make them "respawn" in inittab. Init can maintain some processes as constantly running. Just set the process you need to continually run to have the action field type of "respawn".
See here.

Related

Task manager always showing 95% to 100% disk usage [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Please tell me a way to solve this problem
You can try following ways:
Update Windows: (WinKey->Check for Updates)
Change web browser
Disable startup items
Enable High Performance mode
Update Anti-virus
If any of above doesn't work then track manually that where is the disk more utilised.

what is the linux command to check ram usage for a service? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I am using Ubuntu OS. When I do service --status-all then it lists all services running.
I would like to find RAM usage of the marked tomcat instances. How can I do so? Thanks!
run command top in your terminal you can see the PID and process-name and ram-usage and lots of more stuff

Starting apache web server at every reboot cloud-init [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am pretty new in the cloud-init. I got VM everything is setup and running and I designed the reboot mechanism in the VM to use when VM requires reboot after installing updates. So when I reboot the VM Apache is not working by itself after reboot until I run the start command. Is there a way to make Apache start after every reboot?
problem solved, after reading this two sites
apache-server-doesnt-start-automatically
starting_apache_web_server_at_every_reboot_for_debian_ubuntu_linux
I added this line:
cloud_config['runcmd'].append(['update-rc.d', 'apache2', 'enable'])

How can i can find the most frequently applications used by a user in Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is there any way that i can find the most frequently applications used by a user in Linux? In Windows you can read this information from registry.
Make sure that accounting is turned on:
chkconfig psacct on && /etc/init.d/psacct start
...and then get summary info with sa. Look at examples here or here.
My own experience is that the most frequent command in the account is a shell.

Linux restores windows on reboot [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
A computer has been overloaded with too many windows/programs at once which leads to crash. Unfortunately the system is configured (somehow) to reload all of these windows/programs on reboot, does anyone know how to get around this and have a clean boot? Thank you..
Log into a terminal (hit ALT+CTRL+F1) and edit/remove your session file (dependent on desktop environment).
Better aks for help on askubuntu

Resources