07-09-2010
Hi,
Zaxxon is right:
"You should check out the AIX error....."
When the daemon will be good you can listen me.
I prefere add your demon to system src.
create new service. If you do it you can start the service by 'startsrc xxxx', stop by 'stopsrc xxxx', or reload by 'refesh xxxx'.
and system do analogy as write the demon in /etc/inittab.
Last edited by john1212; 07-10-2010 at 08:48 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi
how to write deamon program
i specified in detail i want to write c++ program when it run it run like deamon process (1 Reply)
Discussion started by: munnu
1 Replies
2. Red Hat
Hi everyone.
Now, i want to permit for an user to start, stop and reconfig some of daemon on Redhat system without root permission.
So how can i do ?
Tks all. (2 Replies)
Discussion started by: quan0509
2 Replies
3. Shell Programming and Scripting
I have two processes that I need to keep running. The first process is a server, the second is basically a canvas for creating images which get saved to a directory. So I plan on using launchd (Mac OS 10.5) on a server to check every minute or so to make sure two things are true:
1) Both apps... (3 Replies)
Discussion started by: Solerous
3 Replies
4. Linux
I have install centos on my server,.. then after rebooting 2 ,3 times , hal deamon cannot start, and system hang on boot.. when i google, i found the solution which is off the hal daemon service... my question is, what is the effect if i off the deamon service ?:confused:
tq (2 Replies)
Discussion started by: ultramen7
2 Replies
5. Infrastructure Monitoring
snmpget -v 1 -c COMMUNITYSTR hostname OID
what OIDs would I use to get information on all the processes and disk space information that are on a particular host.
where can i find out information on all of this?
thanks (3 Replies)
Discussion started by: SkySmart
3 Replies
6. Ubuntu
Hi Team,
I have over 100 users,working on LINUX machine & all they use firefox. I want to monitor traffic from every IP and mainly CPU USAGE TAKEN BY FIREFOX PROCESSES ON EACH MACHINE. Is there any tool which runs on lunux and will help me to monitor firefox processes of our entire LAN?
... (2 Replies)
Discussion started by: paragnehete
2 Replies
7. Shell Programming and Scripting
GM,
Can you pls help how to write a script to monitor different processes on different unix servers and send the output to a /tmp/report file, earlier my boss asked me to write a script to monitor just one process running on different servers and send the output to a file so I wrote this
exec... (0 Replies)
Discussion started by: baders
0 Replies
8. Linux
Hi Guys,
Monitoring 'Total Processes' on Linux servers has been always something you 'should' do.
My question is - why? Is it relevant anymore?
If you monitor memory and cpu params, you have a pretty good idea about what's going on.
Is the number of processes really matter?
Thanks (1 Reply)
Discussion started by: DjDeaf
1 Replies
9. Debian
Hi ,
i have enclosed a picture of gkrellm configuration.
MX16 Debian Jessie Linux.
For showing the temperature the software needs a hddtemp daemon running on port 7634 !
How to make that daemon ?
A cool task. I dont know anything about that.
Perhaps the commandline tool hddtemp is... (2 Replies)
Discussion started by: Zabo
2 Replies
10. Infrastructure Monitoring
Sorry if this is the wrong forum
Searching for Saas Monitor service which monitor my servers which are sitting in different providers .
This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard.
The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies
LEARN ABOUT SUNOS
th_manage
th_manage(1M) System Administration Commands th_manage(1M)
NAME
th_manage - manage the fault injection test harness
SYNOPSIS
th_manage name instance command
th_manage path command
DESCRIPTION
th_manage applies the action specified by command to the instance specified by instance of the driver specified by name (or the driver
instance specified by path). The driver instance must be running fault injection specifications (errdefs) defined by th_define(1M).
th_manage supports several commands that operate on the driver instance specified by name and instance (or path). The commands are:
broadcast Awaken all th_define processes, causing them to display their current status and exit if the errdef is now defunct (that
is, if count, failcount , and acc_chk are all zero).
clear_acc_chk Awaken all th_define processes. If count and failcount are already zero, then set acc_chk to zero, so that th_define exits
once it has displayed its status.
clear_errdefs Awaken all th_define processes. count, failcount and acc_chk are all set to zero so that all th_define commands exit once
they have displayed their status.
clear_errors Awaken all th_define processes. If count is already zero, set failcount and acc_chk to zero, so that th_define exits once
it has displayed its status.
get_handles List all the access handles.
start Begin or resume execution of all errdefs.
stop Suspend all errdefs for this name and instance (or path).
EXAMPLES
Example 1: Useful Commands
To begin the tests, enter:
# th_manage foo 0 start
To check the status of the errdefs, enter:
# th_manage foo 0 broadcast
This causes each th_define process to print out its current status.
If the driver has reported a fatal error, you can take the driver offline using libdevice, clear the error condition by entering:
# th_manage foo 0 clear_acc_chk
or
# th_manage foo 0 clear_errors
and bring the driver online again using libdevice.
To terminate testing, enter:
# th_manage foo 0 clear_errdefs
SEE ALSO
th_define(1M)
SunOS 5.10 4 Jan 2001 th_manage(1M)