- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- what does this means table (TBL_SYSINFO, 0, &tb1, ...
Operating System - Tru64 Unix
1753511
Members
5610
Online
108795
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2003 07:18 PM
тАО12-27-2003 07:18 PM
struct tbl_sysinfo tb1;
table(TBL_SYSINFO, 0, &tb1, sizeof(tb1))
what does the following values means:
- tb1.si_user
- tb1.si_system
- tb1.si_idle
- tb1.si_boottime
Q1) Are these values measured in seconds ???
Q2) Why don't they get reset when I reboot the server ??
table(TBL_SYSINFO, 0, &tb1, sizeof(tb1))
what does the following values means:
- tb1.si_user
- tb1.si_system
- tb1.si_idle
- tb1.si_boottime
Q1) Are these values measured in seconds ???
Q2) Why don't they get reset when I reboot the server ??
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2003 10:02 PM
тАО12-27-2003 10:02 PM
Re: what does this means table (TBL_SYSINFO, 0, &tb1, sizeof(tb1)) ?
Hi,
si_boottime is measured in seconds after
the Epoch (00:00:00 UTC, January 1, 1970) and can be converted by ctime() to readable form.
Have you looked into table.h? I assume, that the other values, if not reset, are also absolute values.
greetings,
Michael
si_boottime is measured in seconds after
the Epoch (00:00:00 UTC, January 1, 1970) and can be converted by ctime() to readable form.
Have you looked into table.h? I assume, that the other values, if not reset, are also absolute values.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2003 03:08 AM
тАО12-28-2003 03:08 AM
Solution
From the table() manpage
TBL_SYSINFO
The system time information table. The index must be zero (0) and
exactly one element can be requested. The system information table con-
tains ticks of time accumulated in the various system states: user,
nice, system, and idle. The system tick frequency and profiling (if
configured) frequency are also provided for conversion from ticks to
time values. This table is examine only. It cannot be updated.
A1) The ticks of time are cpu_ticks.
A2) ??????
Joris
TBL_SYSINFO
The system time information table. The index must be zero (0) and
exactly one element can be requested. The system information table con-
tains ticks of time accumulated in the various system states: user,
nice, system, and idle. The system tick frequency and profiling (if
configured) frequency are also provided for conversion from ticks to
time values. This table is examine only. It cannot be updated.
A1) The ticks of time are cpu_ticks.
A2) ??????
Joris
To err is human, but to really faul things up requires a computer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2003 06:41 AM
тАО12-28-2003 06:41 AM
Re: what does this means table (TBL_SYSINFO, 0, &tb1, sizeof(tb1)) ?
Thanks guys for all your replies
measurement are in ticks of seconds, and they does get reset except for si_boottime .. it never get resetted
by the way .. why not all of table paramteres are well documented .. and I have to look in table.h file for more options for table() ????
measurement are in ticks of seconds, and they does get reset except for si_boottime .. it never get resetted
by the way .. why not all of table paramteres are well documented .. and I have to look in table.h file for more options for table() ????
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP