From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c928d118d4a4b3d X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-12 11:14:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pc1-rdng3-3-cust112.bre.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: Sysadmin favorite commands list Date: Fri, 12 Jul 2002 19:14:05 +0100 Message-ID: References: <4bb16963.0207110159.15d78cad@posting.google.com> <1455fbd7.0207120912.346abc4e@posting.google.com> NNTP-Posting-Host: pc1-rdng3-3-cust112.bre.cable.ntl.com (80.2.248.112) X-Trace: fu-berlin.de 1026497646 24118564 80.2.248.112 (16 [138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.unix.tru64:8128 Heather Wesley wrote ... : SNIP > > When I was a new sysadmin (not long ago) I compiled this and still use > it. Here is my list of useful commands: > See inline notes.... > Setld -i Displays a list of installed subsets All commands should be in all lower case... > Netconfig Manage network configuration processes sysman network to manage the nework.. sysman lprsetup to manage printers... sysman users to manage users... And many more... > Boot /gen/vmunix Standard kernel from the chevron prompt (>>>) boot -file /genvmunix to boot the 'generic' kernel boot -flags s to boot to single user mode... > Touch /etc/nologin Prevent all users except root from logging in when > this file exists If you add text to /etc/nologin it will be displayed to users when they try to log in. > Bcheckrc Checks and mounts all However if bcheckrc fails, it is worth noting that it is a shell script and you can read it for help on what to do... Also if you need to remount / read write then mount -u / is the command for you. > Disklabel -r # Make changes to disk labels. With -r, reads and outputs > the label directly from disk. Really usefull but really dangerous, take care.... > Diskconfig Brings up disk config manager > /sbin/sysconfig -s Queries and lists state of all subsystems > Sizer Displays info about system, creates a sys configuration file > Kopt Kernel options > /etc/vdumpdates Timestamp entry from start of backup > dupatch Install a patch > Dupatch -track -type patch Lists all patches installed on system > Top Shows top 10 processes but may not be installed.... > /usr/bin/X11/dtadvfs Opens Advanced File System Manager sysman advfs.... > Sys_check Outputs system information into and html file. > sysman lsm for the logical storage manager (software raid)... > Also useful is the following website. You can choose your flavors and > compare commands. > http://bhami.com/rosetta.html This is indeed a good website... With the sysman commands, if there is no X display available then a menu system is used instead. Hope this helps some Adam