weistechnotes.blogspot.com
Wei's Tech Notes: Finding files with UNIX command find
http://weistechnotes.blogspot.com/2009/09/finding-files-with-find.html
Wednesday, September 2, 2009. Finding files with UNIX command find. How to find out new files created between a time period, like 7am and 7pm on 3/10? Here is one solution:. Touch -t 03100700 /tmp/7am. Touch -t 03101900 /tmp/7pm. Find / -newer /tmp/7am! A Sysadmin's Unixersal Translator. How to Expanding soft partitions on Solaris. A userful shell script on AIX. Finding files with UNIX command find. Replacing Bad Disk on AIX Server. Capturing full packets/full frames network traffic. Dump device on AIX.
weistechnotes.blogspot.com
Wei's Tech Notes: dump device on AIX
http://weistechnotes.blogspot.com/2009/09/dump-device-on-aix.html
Tuesday, September 1, 2009. Dump device on AIX. On AIX, checking to see that the dump device and copy directory are able to receive the system dump:. Note: if there is no output, it means it's OK. A Sysadmin's Unixersal Translator. How to Expanding soft partitions on Solaris. A userful shell script on AIX. Finding files with UNIX command find. Replacing Bad Disk on AIX Server. Capturing full packets/full frames network traffic. How to tell your UNIX/Linux is running 32-bit or 6. Dump device on AIX.
weistechnotes.blogspot.com
Wei's Tech Notes: How to find out hdisk FRU number on AIX
http://weistechnotes.blogspot.com/2009/09/how-to-find-out-hdisk-fru-number-on-aix.html
Tuesday, September 1, 2009. How to find out hdisk FRU number on AIX. For example, to find out FRU number for hdisk1. Hdisk1 U787B.001.DNW5C52-P1-T14-L8-L0 16 Bit LVD SCSI Disk Drive (73400 MB). Machine Type and Model.ST373207LC. ROS Level and ID.43373043. Device Specific.(Z0).000004129F00013E. Device Specific.(Z1).0930C70C. Device Specific.(Z2).0002. Device Specific.(Z3).06023. Device Specific.(Z4).0001. Device Specific.(Z5).22. Device Specific.(Z6).H13979. A Sysadmin's Unixersal Translator.
weistechnotes.blogspot.com
Wei's Tech Notes: Capturing full packets/full frames network traffic
http://weistechnotes.blogspot.com/2009/09/capturing-full-packetsfull-frames.html
Tuesday, September 1, 2009. Capturing full packets/full frames network traffic. How to capture full packets/full frames. Network traffic in/out an UNIX host? You can either use tcpdump or tshark (part of wireshark) to capture network traffic in and out host 1 from host 2. Tcpdump -s 0 -w output.pcap host host2. Tshark -s 0 -w output.pcap host host2. You can then open the output.pcap file using wireshark. A Sysadmin's Unixersal Translator. How to Expanding soft partitions on Solaris. Dump device on AIX.
weistechnotes.blogspot.com
Wei's Tech Notes: September 2009
http://weistechnotes.blogspot.com/2009_09_01_archive.html
Tuesday, September 8, 2009. Start script- - - - - - - -. File name: delta.pl. Print number of days since Jan, 1, 1970, this is also the 3rd field. In /etc/shadow file on Solaris and Linux like RedHat. You can download Date: Calc from CPAN. Use Date: Calc qw(Delta Days);. My $self = $0; $self = s! Die "Usage: $self year month day OR $self n" unless. ARGV = 3 @ARGV = 0);. If (@ARGV = 3) {. Year1, $month1, $day1) = (@ARGV)[0,1,2];. Else { # use today's date. My $date = `date ' %Y %m %d'`;. Month1, $day1);.
weistechnotes.blogspot.com
Wei's Tech Notes: Replacing Bad Disk on AIX Server
http://weistechnotes.blogspot.com/2009/09/replacing-bad-disk-on-aix-server.html
Tuesday, September 1, 2009. Replacing Bad Disk on AIX Server. How to replace bad disk hdisk0 on AIX server : (assuming hdisk0 and hdisk1 are mirrored rootvg disks). 1 break the mirror. Sysdumpdev -P -s /dev/sysdumpnull. Reducevg -d rootvg hdisk0. 2 using diag to identify bad disk hdisk0 and replace it with a new one. Extendvg -f rootvg hdisk0. 3 re-mirror the rootvg. Bootlist -o -m normal. Mklv -t sysdump -y hd7x rootvg 8 hdisk0. Sysdumpdev -P -s /dev/hd7x. A Sysadmin's Unixersal Translator.
weistechnotes.blogspot.com
Wei's Tech Notes: How to switch from 32-bit to 64-bit kernel on AIX
http://weistechnotes.blogspot.com/2009/09/how-to-switch-from-32-bit-to-64-bit.html
Tuesday, September 1, 2009. How to switch from 32-bit to 64-bit kernel on AIX. Ln -fs /usr/lib/boot/unix 64 /usr/lib/boot/unix. Ln -fs /usr/lib/boot/unix 64 /unix. A Sysadmin's Unixersal Translator. How to Expanding soft partitions on Solaris. A userful shell script on AIX. Finding files with UNIX command find. Replacing Bad Disk on AIX Server. Capturing full packets/full frames network traffic. How to tell your UNIX/Linux is running 32-bit or 6. How to switch from 32-bit to 64-bit kernel on AIX.
weistechnotes.blogspot.com
Wei's Tech Notes: How to Expanding soft partitions on Solaris
http://weistechnotes.blogspot.com/2009/09/how-to-expanding-soft-partitions-on.html
Thursday, September 3, 2009. How to Expanding soft partitions on Solaris. Expanding a soft partition is a two stage process. Firstly, the. Partition must be increased in size and then the filesystem on the. Partition must be extended to use the available space. To expand a soft partition use the following command:. D0: Soft Partition has been grown. Would give soft partition d0 an additional 10Gb of space. To extend the filesystem, the growfs command is used. The syntax is:. A userful shell script on AIX.
weistechnotes.blogspot.com
Wei's Tech Notes: How to tell your UNIX/Linux is running 32-bit or 64-bit
http://weistechnotes.blogspot.com/2009/09/how-to-tell-your-unixlinux-is-running.html
Tuesday, September 1, 2009. How to tell your UNIX/Linux is running 32-bit or 64-bit. A Sysadmin's Unixersal Translator. How to Expanding soft partitions on Solaris. A userful shell script on AIX. Finding files with UNIX command find. Replacing Bad Disk on AIX Server. Capturing full packets/full frames network traffic. How to tell your UNIX/Linux is running 32-bit or 6. How to switch from 32-bit to 64-bit kernel on AIX. How to find out hdisk FRU number on AIX. Dump device on AIX. View my complete profile.