Searched refs:wtmpx (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/acct/
H A Dshutacct.sh32 # "arg added to /var/wtmpx to record reason, defaults to shutdown"
35 acctwtmp "${_reason}" /var/adm/wtmpx
H A Dstartup.sh33 acctwtmp "acctg on" /var/adm/wtmpx
H A Drunacct.sh36 _wtmpx=/var/adm/wtmpx
175 if test -r ${_nite}/wtmpx.${_date} ; then
178 echo "ERROR: ${_nite}/wtmpx.${_date} already exists: run setup manually" > ${_active}
183 closewtmp # fudge a DEAD_PROCESS for /var/wtmpx
184 cp ${_wtmpx} ${_nite}/${_date}.wtmpx
185 acctwtmp "runacct" ${_nite}/${_date}.wtmpx
187 utmp2wtmp # fudge active user from utmpx to wtmpx
194 # "verify the integrity of the wtmpx file"
198 wtmpfix < ${_date}.wtmpx > tmpwtmp 2>wtmperror
209 echo "wtmpx processin
[all...]
/illumos-gate/usr/src/cmd/last/
H A DMakefile28 UTMPS= wtmpx
/illumos-gate/usr/src/cmd/date/
H A Ddate.c68 static struct utmpx wtmpx[2] = { variable in typeref:struct:utmpx
310 (void) time(&wtmpx[0].ut_xtime);
319 (void) time(&wtmpx[1].ut_xtime);
320 (void) pututxline(&wtmpx[0]);
321 (void) pututxline(&wtmpx[1]);
322 (void) updwtmpx(WTMPX_FILE, &wtmpx[0]);
323 (void) updwtmpx(WTMPX_FILE, &wtmpx[1]);
/illumos-gate/usr/src/man/man4/
H A DMakefile247 wtmpx.4
302 wtmpx.4 := LINKSRC = utmpx.4
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c1602 struct utmpx wtmpx; local
1604 bzero(&wtmpx, sizeof (struct utmpx));
1605 (void) strcpy(wtmpx.ut_line, "~");
1606 (void) time(&wtmpx.ut_tv.tv_sec);
1609 (void) strcpy(wtmpx.ut_name, "crash dump");
1611 (void) strcpy(wtmpx.ut_name, "shutdown");
1613 (void) updwtmpx(WTMPX_FILE, &wtmpx);

Completed in 550 milliseconds