Linux in a Nutshell, Third Edition
by Ellen Siever, Stephen Spainhour, Jessica P. Hekman, Stephen Figgins
Name
gdc
Synopsis
gdc [options] command
Description
TCP/IP command. Administer gated. Various commands start and stop the daemon, send signals to it, maintain the configuration files, and manage state and core dumps.
Options
- -c size
Specify maximum core dump size.
- -f size
Specify maximum file dump size.
- -m size
Specify maximum data segment size.
- -n
Suppress editing of the kernel forwarding table.
- -q
Quiet mode: suppress warnings and log errors to syslogd instead of standard error.
- -s size
Specify maximum stack size.
- -t seconds
Wait seconds seconds (default is 10) for gated to complete specified operations at start and stop time.
Commands
- BACKOUT
Restore /etc/gated.conf from /etc/gated.conf-, whether or not the latter exists.
- backout
Restore /etc/gated.conf from /etc/gated.conf-, assuming the latter exists.
- checkconf
Report any syntax errors in /etc/gated.conf.
- checknew
Report any syntax errors in /etc/gated.conf+.
- COREDUMP
Force gated to core dump and exit.
- createconf
Create an empty /etc/gated.conf+ if one does not already exist, and set it to mode 664, owner root, group gdmaint.
- dump
Force gated to dump to /usr/tmp/gated_dump and then continue normal operation.
- interface
Reload interface configuration.
- KILL
Terminate immediately (ungracefully).
- modeconf
Set all configuration files to mode 664, owner root, group gdmaint.
- newconf
Make sure that /etc/gated.conf+ exists and move it to /etc/gated.conf. Save the old /etc/gated.conf as /etc/gated.conf-.
- reconfig
Reload configuration file. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access