473,587 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Include date time with VMSTAT

When running VMSTAT 3 5, in provides a snapshot every 3 seconds for 5
intervals.

Is there a way to add date / time as one of the parameters (AIX
environment)?

Thanks,

jb

May 9 '07 #1
1 3826

for time

vmstat -t

-t
Prints the time-stamp next to each line of output of vmstat. The
time-stamp is displayed in the HH:MM:SS format. Note: Time stamp
will not be printed if -f, -s, or -i flags are specified.

My example for daily 8 hour with date in filename :
vmstat -t 1 28800 >/home/db2inst1/nncron/vmstats/nnVmstat8h_`dat e +%Y
%m%d"-"%H%M`.log

or

man vmstat

Bye
On May 9, 6:41 pm, Justin <kfw...@hotmail .comwrote:
When running VMSTAT 3 5, in provides a snapshot every 3 seconds for 5
intervals.

Is there a way to add date / time as one of the parameters (AIX
environment)?

Thanks,

jb

May 14 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2000
by: zorro | last post by:
Hello, I'm programming an Amazon type web site and find myself "wasting" a lot of time writing code that gets information from include files rather than from the database because I have this notion that it will avoid clogging the db when many users come to the site. My main goal anyway is to have the user wait as little as possible because...
0
1506
by: zorro | last post by:
Thanks all for your suggestions. I'm definitely scrapping my method for now. I liked the following idea most but I'll probably go with the db method because it's probably easiest to manage. ;) ........ <?php $_SESSION = array('Products', 'Electronics', 'Computers', 'Laptops', 'Accessories', 'Mouse');
20
3538
by: Brian Burgess | last post by:
Hi all, Anyone know if this is possible? If so, on which page would the cookie be? .. On the page calling a function defined in the include file? thanks in advance.. -BB
22
2891
by: Long | last post by:
Problem: to insert the content of a file in an HTML document at a specific location. One possible way is to add a WebCharm tag like this: <%@charm:text 20 0 my_include_file.txt %> When the HTML template is processed by a WebCharm-aware web server, the content of my_include_file.txt is inserted at the tag location. This work very much...
21
1908
by: .:mmac:. | last post by:
I have to update a page every week. I get the page ahead of time so I used the "scheduled includes" webbot in Frontpage only to find that I would have to refresh the page every week to have it work. That is silly, it should run by itself. so... I asked the question in the FP group and I was offered this pseudocode to do it by month which...
1
4423
by: steven virnig | last post by:
We have an application group that wants to pull date from SQL Server and write it to text file on the server. They want the file format to be 12100_YYYMMDDHHMM.fr1 for one set of data, 12100_YYYMMDDHHMM.fr2 for a second set...and so on. The '12100' is fixed, but the rest of the file name will always have to include the system date/time. Is...
32
3410
by: barkarlo | last post by:
In my table date/time field (starttime,endtime) include both date and time. How can I calculate worktime in query for each employee who works sundays? for an example: sometimes starttime and endtime is sunday and sometimes only endtime is sunday for an examlpe: eployee starttime endtime timeout...
16
2312
by: Nathan Sokalski | last post by:
I have a control uses the date and time, including milliseconds. I want to be able to enter this information as an attribute in the *.aspx page. Because all attributes are entered as strings in the *.aspx page, I need a recognizable date/time string that includes the date and time, including milliseconds. Can somebody tell me the best format...
1
1368
by: =?Utf-8?B?cGVsZWdrMQ==?= | last post by:
1)i have a page that has includes like : <!--#INCLUDE FILE=FuncInc.asp--> <!--#INCLUDE FILE=VBEncodeInc.asp--> i know how to translate the code it self to vb.net, but how should i build the included files? should i build aspx page with code behind and inherit each other with it fnction? or any other way? 2)how do i extract the date and time...
0
7915
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5712
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2347
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.