Sponsored Content
Top Forums Shell Programming and Scripting How to integrate all the systemctl commands into a shell script to verify any daemon/agent service? Post 303016868 by RudiC on Saturday 5th of May 2018 02:12:20 AM
Old 05-05-2018
The lack of reaction within almost 24 hours, and with 223 views of your post might indicate that something in your request is not too clear nor too logical nor too understandable nor makes sense to people.
You might want to rethink / rephrase your request.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script as a daemon

hi, can i run a shell script as a daemon ? the shell script looks like this : can this be run as a service ?: thanks regards shann (1 Reply)
Discussion started by: massoo
1 Replies

2. UNIX and Linux Applications

Integrate PHP + Unix commands

Hi I am using fedora 4, its only for desktop usage. its in gui mode. the system is always on and in login screen. whenever a particular user logins in, aphp page inside the system should run. The user should not be able to view the desktop. The user has the info in the php webpage to work... (1 Reply)
Discussion started by: karthikn7974
1 Replies

3. Red Hat

difference between restarting a daemon and a service

Hi, Can you please clear me the difference between restarting the daemon and the service. To be more clear, /etc/init.d/mysqld restart and /etc/init.d/mysqld restart What is the difference on this both two?..... (4 Replies)
Discussion started by: gsiva
4 Replies

4. Red Hat

Can't start NTOP service/daemon

I have installed version of ntop 4.0.3 by guide. But I can't start ntop daemon/service. I didn't find a service file for starting. During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required. I didn't find in /etc/init.d/... (9 Replies)
Discussion started by: getrue
9 Replies

5. AIX

Need help on patrol agent service in AIX

Hi, Anyone know what is patrol agent service in aix If know please tell me the command to check the same. (4 Replies)
Discussion started by: sumanthupar
4 Replies

6. Web Development

Help to integrate Shell script with PHP

I have a shell script which takes user name and server name from the user and check the authentication type on that server like LDAP or VAS or local. It also provides various other info also such as owner of the ID and etc. I need this script to work on the browser where user can directly input... (2 Replies)
Discussion started by: Bhuwan Nazkani
2 Replies

7. UNIX for Beginners Questions & Answers

Shell script newbie- how to generate service log from shell script

Hi, I am totally a newbie to any programming languages and I just started an entry level job in an IT company. One of my recent tasks is to create a script that is able to show the log file of linux service (i.e. ntpd service) lets say, if I run my script ./test.sh, the output should be... (3 Replies)
Discussion started by: xiaogeji
3 Replies

8. Shell Programming and Scripting

Shell script verify connection to Oracle if not successful

i have a script that connects to the oracle database and executes the query statements. it works fine and i would like to add some message to check if the connection to oracle is not successful. basically this is the code snippet: #!/bin/sh ... ... ... sqlplus -s username/password@dbName... (2 Replies)
Discussion started by: wtolentino
2 Replies
SYSTEMD-DEBUG-GENERATOR(8)				      systemd-debug-generator					SYSTEMD-DEBUG-GENERATOR(8)

NAME
systemd-debug-generator - Generator for enabling a runtime debug shell and masking specific units at boot SYNOPSIS
/lib/systemd/system-generators/systemd-debug-generator DESCRIPTION
systemd-debug-generator is a generator that reads the kernel command line and understands three options: If the systemd.mask= option is specified and followed by a unit name, this unit is masked for the runtime, similar to the effect of systemctl(1)'s mask command. This is useful to boot with certain units removed from the initial boot transaction for debugging system startup. May be specified more than once. If the systemd.wants= option is specified and followed by a unit name, a start job for this unit is added to the initial transaction. This is useful to start one or more additional units at boot. May be specified more than once. If the systemd.debug_shell option is specified, the debug shell service "debug-shell.service" is pulled into the boot transaction. It will spawn a debug shell on tty9 during early system startup. Note that the shell may also be turned on persistently by enabling it with systemctl(1)'s enable command. systemd-debug-generator implements systemd.generator(7). SEE ALSO
systemd(1), systemctl(1), kernel-command-line(7) systemd 237 SYSTEMD-DEBUG-GENERATOR(8)
All times are GMT -4. The time now is 10:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy