Servicios

Web hosting
Ver »
Páginas Web
Ver »
Soporte UNIX
Ver »
UNIX TIPS
Ver »

DOWNLOADS

Sun Live CD

Sun Velvet

Sun Default Color

Sun Linen


Random TIPS

RESPALDAR ARCHIVO wtmpx CON FORMATO LEGIBLE

root@ # cd /var/adm/
root@ # ls -l wtmpx
-rw-r--r--   1 adm      adm      1539641784 Apr 15 18:02 wtmpx
root@ # /usr/lib/acct/fwtmp < /var/adm/wtmpx > /var/adm/wtmpx.`date +%Y%m%d`
root@ # ls -l | grep wtmpx
-rw-r--r--   1 adm      adm      1539693492 Apr 15 18:09 wtmpx
-rw-r--r--   1 root     other    355949528 Apr 15 18:09 wtmpx.20150415
root@ # > /var/adm/wtmpx
root@ # ls -l /var/adm/wtmpx
-rw-r--r--   1 adm      adm          372 Apr 15 18:11 /var/adm/wtmpx
root@ # gzip wtmpx.20150415
root@ # ls -l | grep wtmpx
-rw-r--r--   1 adm      adm        10044 Apr 15 18:12 wtmpx
-rw-r--r--   1 root     other    42045437 Apr 15 18:09 wtmpx.20150415.gz
root@ #

free counters