Searched refs:adm (Results 1 - 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/cmd/acct/
H A Dnulladm.sh30 # "make sure owned by adm (in case created by root)"
35 chgrp adm $_file
36 chown adm $_file
H A Dremove.sh28 rm -f /var/adm/acct/sum/wtmp*
29 rm -f /var/adm/acct/sum/pacct*
30 rm -f /var/adm/acct/nite/lock*
H A Dstartup.sh33 acctwtmp "acctg on" /var/adm/wtmpx
36 rm -f /var/adm/acct/sum/wtmp*
37 rm -f /var/adm/acct/sum/pacct*
38 rm -f /var/adm/acct/nite/lock*
H A Dshutacct.sh35 acctwtmp "${_reason}" /var/adm/wtmpx
H A Dckpacct.sh32 # periodically check the size of /var/adm/pacct
36 _adm=/var/adm
38 trap "rm -f /var/adm/cklock*; exit 0" 0 1 2 3 9 15
48 cd /var/adm
57 # If there are less than $_MIN_BLKS free blocks left on the /var/adm
71 echo "acctg still off" ) | mailx root adm
77 echo "turning acctg off" ) | mailx root adm
84 mailx root adm
H A Dturnacct.sh35 # "/var/adm/pacct is always the current pacct file"
37 cd /var/adm
52 pfexec /usr/sbin/logadm -p now /var/adm/pacct
H A Dchargefee.sh30 cd /var/adm
H A Drunacct.sh29 # "nitely accounting shell, should be run from cron (adm) at 4am"
33 _adm=/var/adm
34 _nite=/var/adm/acct/nite
35 _sum=/var/adm/acct/sum
36 _wtmpx=/var/adm/wtmpx
54 echo "$_lnkerr" | mailx adm root
60 # Check to see if there is enough space in /var/adm to do nitely accounting
70 mailx root adm < /tmp/accounting_tmpfile
86 echo "${_errormsg}" | mailx root adm
119 echo "${_errormsg}" | mailx root adm
[all...]
H A Dprdaily.sh49 _nite=/var/adm/acct/nite
51 _sum=/var/adm/acct/sum
/illumos-gate/usr/src/cmd/syslogd/
H A Dnewsyslog31 # Running this script checks to see if /var/log/syslog or /var/adm/messages
36 /usr/sbin/logadm /var/log/syslog /var/adm/messages
H A Dsyslog.conf34 *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages
53 user.err /var/adm/messages
H A Dsystem-log79 if [ ! -f /var/adm/messages ]; then
80 /usr/bin/cp /dev/null /var/adm/messages
81 /usr/bin/chmod 0644 /var/adm/messages
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dload.c33 cmd_load(fmd_adm_t *adm, int argc, char *argv[]) argument
41 if (fmd_adm_module_load(adm, argv[1]) != 0)
49 cmd_unload(fmd_adm_t *adm, int argc, char *argv[]) argument
57 if (fmd_adm_module_unload(adm, argv[1]) != 0)
H A Dconfig.c50 cmd_config(fmd_adm_t *adm, int argc, char *argv[]) argument
58 if (fmd_adm_module_iter(adm, config_modinfo, NULL) != 0)
65 cmd_rotate(fmd_adm_t *adm, int argc, char *argv[]) argument
70 if (fmd_adm_log_rotate(adm, argv[1]) != 0)
H A Dgc.c34 cmd_gc(fmd_adm_t *adm, int argc, char *argv[]) argument
46 if (fmd_adm_module_gc(adm, mod) != 0)
H A Dreset.c33 cmd_reset(fmd_adm_t *adm, int argc, char *argv[]) argument
58 if (fmd_adm_serd_reset(adm, mod, opt_s) != 0)
62 if (fmd_adm_module_reset(adm, mod) != 0)
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsetadmin.c50 extern struct admin adm; /* holds info about install admin */
57 &adm.action, "action",
58 &adm.authentication, "authentication",
59 &adm.basedir, "basedir",
60 &adm.conflict, "conflict",
61 &adm.idepend, "idepend",
62 &adm.instance, "instance",
63 &adm.keystore, "keystore",
64 &adm.mail, "mail",
65 &adm
[all...]
/illumos-gate/usr/src/cmd/sa/
H A Dsa2.sh30 RPT=/var/adm/sa/sar$DATE
31 DFILE=/var/adm/sa/sa$DATE
35 /usr/bin/find /var/adm/sa \( -name 'sar*' -o -name 'sa*' \) -mtime +7 -exec /usr/bin/rm {} \;
H A Dsa1.sh31 DFILE=/var/adm/sa/sa$DATE
/illumos-gate/usr/src/cmd/dmesg/
H A Ddmesg.sh31 /usr/bin/cat -sv `/usr/bin/ls -tr1 /var/adm/messages.? 2>/dev/null` \
32 /var/adm/messages | /usr/bin/tail -200
/illumos-gate/usr/src/cmd/spell/
H A Dcompress.sh32 grep -v ' ' /var/adm/spellhist | sort -fud >> /usr/tmp/spellhist
33 cp /usr/tmp/spellhist /var/adm
/illumos-gate/usr/src/cmd/logadm/
H A Dlogadm.conf39 /var/adm/messages -C 4 -a 'kill -HUP `cat /var/run/syslog.pid`'
48 /var/adm/pacct -C 0 -N -a '/usr/lib/acct/accton pacct' -g adm -m 664 -o adm -p never
/illumos-gate/usr/src/cmd/last/
H A DMakefile29 ROOTADM= $(ROOT)/var/adm
32 ETCTOVARADM= ../var/adm
/illumos-gate/usr/src/cmd/who/
H A DMakefile29 ROOTADM= $(ROOT)/var/adm
56 -$(RM) $@; $(SYMLINK) ../var/adm/$(@F) $@
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dinstall.h130 #define ADM(x, y) ((adm.x != NULL) && (y != NULL) && \
131 strcmp(adm.x, y) == 0)
132 #define ADMSET(x) (adm.x != NULL)

Completed in 113 milliseconds

123