![]() lscfg (lists installed devices, -v for versions or -c).#hostname èDisplays the Current hostname of the system.#lslpp –h | pg =è Shows history (version level) of license program products.#lslpp –l | pg =è List of license program products installed.# lpstat -t =èList spoolers and and existing jobs.#chfs -a size=-500M /usr/acct (To decrease the file system sizeof 500M, for GB u have to mention G instead of M i.e chfs –a size=-1G /usr/acct) #chfs -a size=+500M /usr/acct (To enlarge file system of 500M, for GB u have to mention G instead of M i.e chfs –a size=+1G /usr/acct) # HOME/.sh_history =è Contains the history of user commands executed on the command line for each login session.Here home is nothing but root directory.For smitty logs also u can find it in root directory smit #more smit.log #set –o vi=è Enable command line editing/playback.#last reboot | head -5=è List last 5 times systems has been rebooted.#last=è Display information about previous logins stored in the /usr/adm/wtmp accounting file.# kill=è Sends a signal to stop or suspend a process from running. ![]() #shutdown –Fr =è command to restart the system.#stopsrc –a=è Gracefully shuts down all subsystems controlled by the SRC – System Resource Controller.The above command displays system name, operating system version, LAN network number, type of hardware running and so on # tail -25 alert_PS1.log command shows the last 25 line of the log file. # tail = Displays the Last 10 lines (default) of a file.The above command display the first 25 line of aler_PS1.log. # head = Displays the first 10 lines (default) of a file.Search all file systems for any file named java # find =è Finds files with matching expressions. Date format is: mmddHHMM.SSyyĮg: date 02030830.0054 (This sets the date/time to Feb 03 08:30:) #clear =è command to clear the Screen. # errpt -a | pg => Produces a detailed report for each entry in the error log # date =è Displays or sets the date/time. Where timestamp=0917140307 means the error was occurred on 17/09/07 at 14:03PM
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |