Hi, I am using CENTOS and for now, I am not able to install or to configure the istat command on Linux. So, is there a way to do the same that the shell is doing below, but not using istat command? I would appreciate any help on it.
Last edited by bartus11; 11-16-2014 at 07:01 PM..
Reason: Please use [code][/code] tags.
Many scripting languages can give you the information that istat provides, but I am not sure why you need to save the information to two new files ... but it is your script. For a perl replacement:
Which give you:
for the file:
Please format the mtime and owner to your liking.
Last edited by derekludwig; 11-16-2014 at 08:45 PM..
Reason: typo
Hi ongoto, thank you for writing the script. I did what you wrote, however, the time is not returning correctly. It is returning: $H$M instead of the hour. See below the script without the comments.
tks.
Last edited by Scott; 11-22-2014 at 08:50 PM..
Reason: Please use code tags...
Hi,
I have built out a new virtual production environment (VMWare, HA enabled, VMotion... all the bells & whistles) using RHEL5 VM's.
I have got another ESX host that I plan to use as a pre-prod environment. To save some costs on RH subs I was thinking about installing this environment... (5 Replies)
Dear Linux Experts,
On my windows 7 desktop with the help of Vmware workstation (Version 7.1),
created virtual machine and installed Centos 5.7 successfully using ISO image.
Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
I would like to determine if a file is older than a particular date. I found that istat will let me see the date and time of a file older than a year, but I need to change the format. Could anyone help me reformat the following date to a variable (a one liner would be great).
Output from istat -... (1 Reply)
I got the command :
istat filename
shows all the file details like owner and group name.
But
i want to know, who has accessed the file last time.
As istat shows the name of owner of that file and name of the group.
istat does lots of my work but i want to know who has accessed my file... (2 Replies)
I got the command :
istat filename
shows all the file details like owner and group name.
But
i want to know, who has accessed the file last time.
As istat shows the name of owner of that file and name of the group.
istat does lots of my work but i want to know who has accessed my file... (0 Replies)
I have a HP Netserver 2000 running SCO UNIX 5.0.6. I get the message: istat=0a: LSS_PAR on ha=1 sist0=41 sist1=00 !!!! dstat =81 on ha=1 has DS_OPC while WAIT DISCONNECT, rp=c014f8co dsp=FD on path=1, newdsp=FD064600 WARNING: Parity Error MSG OUT=00000006 Failed, 1code=80000002 on ha=1 id... (0 Replies)