Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
getting console messages into a file
Name: Joe Walker Date: July 19, 2002 at 06:11:24 Pacific
Comment:
i cant get console messages into a file on aix 4.3.2, and 4.3.1 I know it comes as standard in 4.3.3, just wondering if anyone knew how to do it? Cheers
please email the answer to me if you know it. jwalker@keystonegroup.co.uk
thanks
0
Response Number 2
Name: Frank Date: July 19, 2002 at 06:40:47 Pacific
Reply:
Joe,
if you would like to see the content of the consol just use alog -f /var/adm/ras/conslog -o
If it is not allready configured refer to: chcons(1) - Redirects the system console to a specified device or file to be effective on the next startup of the system. lscons(1) - Writes the name of the current console device to standard output. swcons(1) - Redirects, temporarily, the system console output to a specified device or file. chcons(1) - Redirects the system console to a specified device or file to be effective on the next startup of the system. lscons(1) - Writes the name of the current console device to standard output. swcons(1) - Redirects, temporarily, the system console output to a specified device or file.
Summary: Thanks a lot! This really worked. Now another related question. Now that I got my unique key into a file, I want to take that key and go against multiple files and extract record from them. Note, ...
Summary: Hi, I have a file with sequence numbers in it. I want to insert few more sequence numbers from a new file checking the maximum sequence numbers available in the file. Example: oldfile.txt has 100 101...
Summary: Hi All, Is it possible to get teh julian date a file was created(modified) ? For example, I could get the julian date of today by date +%j which gives 237.The last day of the year is 365. I want to sp...