Tutorials Point


  Unix for Beginners
  Unix Shell Programming
  Advanced Unix
  Unix Useful References
  Unix Useful Resources
  Selected Reading

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

conmand - Unix, Linux Command


previous next AddThis Social Bookmark Button


Advertisements

NAME

conmand - ConMan daemon

SYNOPSIS

conmand [OPTION]...

DESCRIPTION

conmand is the daemon responsible for managing consoles defined by its configuration file as well as listening for connections from clients.

OPTIONS

TagDescription
-c file Specify a configuration file, overriding the default location [/etc/conman.conf].
-h Display a summary of the command-line options.
-k Send a SIGTERM to the conmand process associated with the specified configuration, thereby killing the daemon. Returns 0 if the daemon was successfully signaled; otherwise, returns 1.
-L Display license information.
-p port Specify the port on which conmand will listen for clients, overriding both the default port [7890] and the port specified in the configuration file.
-q Displays the PID of the conmand process associated with the specified configuration if it appears active. Returns 0 if the configuration appears active; otherwise, returns 1.
-r Send a SIGHUP to the conmand process associated with the specified configuration, thereby re-opening both that daemon’s log file and individual console log files. Returns 0 if the daemon was successfully signaled; otherwise, returns 1.
-v Enable verbose mode.
-V Display version information.
-z Truncate both the daemon’s log file and individual console log files at start-up.

SIGNALS

TagDescription
SIGHUP Close and re-open both the daemon’s log file and the individual console log files. Conversion specifiers within filenames will be re-evaluated. This is useful for logrotate configurations.
SIGTERM Terminate the daemon.

SECURITY

The client/server communications are not yet encrypted.

NOTES

Log messages are sent to standard-error until after the configuration file has been read, at which time future messages are discarded unless either the logfile or syslog keyword has been specified (cf, conman.conf(5)).

If the configuration file is modified while the daemon is running and a pidfile was not originally specified, the ’-k’ and ’-r’ options may be unable to identify the daemon process; consequently, the appropriate signal may need to be sent to the daemon manually.

AUTHOR

Chris Dunlap <cdunlap@llnl.gov>

COPYRIGHT

Copyright (C) 2001-2006 by the Regents of the University of California. Produced at Lawrence Livermore National Laboratory. UCRL-CODE-2002-009.

ConMan is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

SEE ALSO

The ConMan FTP site:
ftp://ftp.llnl.gov/pub/linux/conman/

The ConMan Web page:
http://www.llnl.gov/linux/conman/


previous next Printer Friendly

Advertisements


  

Advertisements