vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have 2 machines, one AIX 5.2, one AIX 5.3. They give different date format outputs for the istat command. AIX 5.3 includes the "GMT" string. N.B. typing "date" on the command line gives same format on both machines. Any idea why the istat date format is different when ? AIX 5.2 : istat testfile Inode 244150 on device 10/8 File Protection: rw-r--r-- Owner: 201(sefas) Group: 201(sefas) Link count: 1 Length 0 bytes Last updated: Thu Jan 24 07:56:00 2008 Last modified: Thu Jan 24 07:56:00 2008 Last accessed: Thu Jan 24 07:56:00 2008 AIX 5.3 istat testfile Inode 140014 on device 10/8 File Protection: rw-r--r-- Owner: 207(producer) Group: 206(producer) Link count: 1 Length 0 bytes Last updated: Thu Jan 24 07:52:11 GMT 2008 Last modified: Thu Jan 24 07:52:11 GMT 2008 Last accessed: Thu Jan 24 07:52:11 GMT 2008 |
| ||||
| On Jan 24, 9:25 am, Loial <[email protected]> wrote: > I have 2 machines, one AIX 5.2, one AIX 5.3. > > They give different date format outputs for the istat command. AIX 5.3 > includes the "GMT" string. > > N.B. typing "date" on the command line gives same format on both > machines. > > Any idea why the istat date format is different when ? > > AIX 5.2 : > > istat testfile > Inode 244150 on device 10/8 File > Protection: rw-r--r-- > Owner: 201(sefas) Group: 201(sefas) > Link count: 1 Length 0 bytes > > Last updated: Thu Jan 24 07:56:00 2008 > Last modified: Thu Jan 24 07:56:00 2008 > Last accessed: Thu Jan 24 07:56:00 2008 > > AIX 5.3 > istat testfile > Inode 140014 on device 10/8 File > Protection: rw-r--r-- > Owner: 207(producer) Group: 206(producer) > Link count: 1 Length 0 bytes > > Last updated: Thu Jan 24 07:52:11 GMT 2008 > Last modified: Thu Jan 24 07:52:11 GMT 2008 > Last accessed: Thu Jan 24 07:52:11 GMT 2008 I guess the istat command prior AIX 5.3 does not obay the LANG=variable. If you set "export LANG=C" the output should be the same on both machines. hth Hajo |