Hello MadeInGermany,
Sorry but, how pid nr will understand that vlc1 should be restarted when i run this code?There is no "vlc1" expression in this code. Nicht functioniert.
:confused:
I have a process which was schedule to run from 8am - 6pm daily. The scripts will search & run the commands that i was predefined in the database. Ususally, there were about 6-7 jobs for each submission and each job takes about 1-2 hrs and running one by one. And, I have a cron job... (3 Replies)
I need a simple line to run from apple remote desktop's Unix terminal on multiple different machines to see if Microsoft Entourage is running and kill it.. I imagine this could be done with a ps auxwww and grab the second field, (PID) put it into a variable and do a kill $variable using awk, but... (5 Replies)
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
What I need to learn is how to use a script that launches background processes, and then kills those processes as needed.
The script successfully launches the script. But how do I check to see if the job exists before I kill it?
I know my problem is mostly failure to understand parameter... (4 Replies)
Hi
I would like to know, how to find that particular process is running on which port other than /etc/services as this file shows well known ports information. (1 Reply)
I would like to know, how to find that particular process is running on which port other than /etc/services as this file shows well known ports information
Double post, continued here. If you want answers for different OS, post in a general section instead. If you want your other post moved... (0 Replies)
Hi,
Do anybody experience to write a bash script in order to kill a specific process (java) after certain time of running?
eg.
java java.jar task_run.txt
I will run a java program (java.jar) which will run a long list of process (task_run.txt) one by one.
I plan to terminate the java... (5 Replies)
All,
1.What is the unix comand used for all current running process (Including All current running processes Parent ->child->subchild process)
2.If child and subchild processes are running then what is the unix command to kill parent and its all child subchild processes in UNIX.
Kindly... (7 Replies)
Hi Team ,
I have one process named as cec_analysiseool that is running on unix box machine now i want to kill this process so please advise what will be the ideal command to kill this , what i have tried is :confused:
kill -9 `ps -ef | grep cec_analysiseool | grep -v grep | awk '{print $2}'` (2 Replies)
Discussion started by: unclesamm
2 Replies
LEARN ABOUT CENTOS
pkttyagent
PKTTYAGENT(1) pkttyagent PKTTYAGENT(1)NAME
pkttyagent - Textual authentication helper
SYNOPSIS
pkttyagent [--version] [--help]
pkttyagent [--process { pid | pid,pid-start-time } | --system-bus-name busname] [--notify-fd fd] [--fallback]
DESCRIPTION
pkttyagent is used to start a textual authentication agent for the subject specified by either --process or --system-bus-name. If neither
of these options are given, the parent process is used.
To get notified when the authentication agent has been registered either listen to the Changed D-Bus signal or use --notify-fd to pass the
number of a file descriptor that has been passed to the program. This file descriptor will then be closed when the authentication agent has
been successfully registered.
If --fallback is used, the textual authentication agent will not replace an existing authentication agent.
RETURN VALUE
If the authentication agent could not be registered, pkttyagent exits with an exit code of 127. Diagnostic messages are printed on standard
error.
If one or more of the options passed are malformed, pkttyagent exits with an exit code of 126. If stdin is a tty, then this manual page is
also shown.
If the authentication agent was successfully registered, pkttyagent will keep running, interacting with the user as needed. When its
services are no longer needed, the process can be killed.
NOTES
Since process identifiers can be recycled, the caller should always use pid,pid-start-time when using the --process option. The value of
pid-start-time can be determined by consulting e.g. the proc(5) file system depending on the operating system. If only pid is passed to the
--process option, then pkttyagent will look up the start time itself but note that this may be racy.
AUTHOR
Written by David Zeuthen <davidz@redhat.com> with a lot of help from many others.
BUGS
Please send bug reports to either the distribution or the polkit-devel mailing list, see the link
http://lists.freedesktop.org/mailman/listinfo/polkit-devel on how to subscribe.
SEE ALSO polkit(8), polkitd(8), pkaction(1), pkcheck(1), pkexec(1)polkit May 2009 PKTTYAGENT(1)