Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #552
Difficulty: Medium
If variable i has the value 10, after x = 5 + (++i); the value of x after this code is 15.
True or False?
Linux & Unix Commands - Search Man Pages

xgridctl(8) [osx man page]

xgridctl(8)						    BSD System Manager's Manual 					       xgridctl(8)

NAME
xgridctl -- Xgrid Daemon Control Interface SYNOPSIS
xgridctl [target] action OPTIONS
The optional target is one of the following: controller perform the action for the xgricontrollerd daemon agent perform the action for the xgridagentd daemon The action is one of the following: status print status for the chosen daemon, or print status for all daemons if no target is specified start enable and start the chosen daemon, or start all enabled daemons if no target is specified stop disable and stop the chosen daemon, or stop all daemons if no target is specified restart stop and then enable and start the chosen daemon, or stop all daemons and then start all enabled daemons if no target is speci- fied RETURN VALUES
0 completed succesfully 1 an error occurred FILES
/usr/libexec/xgrid/xgridagentd agent daemon /usr/libexec/xgrid/xgridcontrollerd controller daemon /System/Library/LaunchDaemons/com.apple.xgridagentd.plist agent launchd control file /System/Library/LaunchDaemons/com.apple.xgridcontrollerd.plist controller launchd control file EXAMPLES
Print status of agent and controller: $ xgridctl status Start the controller and set it to run at startup: $ xgridctl controller start Stop the agent and set it to not run at startup: $ xgridctl agent stop SEE ALSO
xgrid(1) launchd(8) HISTORY
This program was first introduced in Mac OS X 10.4 "Tiger". It was inspired by apachectl(8). The "on" and "off" actions were deprecated in Mac OS X 10.5 "Leopard". BUGS
Bug reports can be sent to bugreport.apple.com Mac OS X April 2, 2009 Mac OS X

Check Out this Related Man Page

pcastctl(8)						    BSD System Manager's Manual 					       pcastctl(8)

NAME
pcastctl -- Podcast Producer daemons control interface SYNOPSIS
pcastctl status target on|off|start|stop|restart OPTIONS
The available options are as follows: status print status of running daemons target affect agent or server daemon start|stop|restart explicitly start/stop/restart daemon. Note that 'restart' will kill all instances of a given daemon, as will 'stop' if none is specified in the pid file. RETURN VALUES
0 Completed succesfully. 1 Action failed 10 Not run as root. 50 Target not recognized: use 'a', or 's'. 51 Action not recognized: use start|stop|restart 52 Executables not found; may need to reinstall Podcast Producer. 53 Process directory not found; may need to reinstall Mac OS X. 54 Timeout waiting for action to complete. 55 Launchd manipulation failure. FILES
/usr/libexec/podcastproducer/pcastagentd Podcast Producer agent daemon /usr/share/podcastproducer/pcastserverd Podcast Producer server daemon /var/run/pcastagentd.pid Podcast Producer agent process ID /var/run/pcastserverd.pid Podcast Producer server process ID /System/Library/LaunchDaemons/com.apple.pcastagentd.plist Launchd agent daemon control file /System/Library/LaunchDaemons/com.apple.pcastserverd.plist Launchd server daemon control file EXAMPLES
status of Podcast Producer agent daemon $ pcastctl agent status edit launchd configuration to launch server on system startup $ pcastctl server on DIAGNOSTICS
Warning: Warning: ## copies of (pcastagentd|pcastserverd) already running Trying to launch another daemon when one or more already running; will usually succeed, but may cause unpredictable behavior. See also RETURN VALUES, above. ERRORS
Error: failed to launch (executable) Tried to start/restart a give daemon, but failed. Error: process 'executable' not currently running Tried to kill a process which did not exist. SEE ALSO
pcast(1) launchd(8) HISTORY
This program was first introduced in Mac OS X 10.5 "Leopard". It was inspired by xgridctl(8). BUGS
pcastctl(8) uses kill -TERM to allow the daemons a chance to die gracefully; there is currently no way to force a kill -KILL. Bug reports can be sent to bugreport.apple.com Feedback can be sent to podcastproducer@apple.com Mac OS September 29, 2004 Mac OS

Featured Tech Videos