SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-24-2008, 11:12 AM
Loial
 
Posts: n/a
Default format of istat output

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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-24-2008, 11:12 AM
Hajo Ehlers
 
Posts: n/a
Default Re: format of istat output

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote