06-15-2010
HPVM log file location and a sample
1. Can somebody tell me the log file location of HPVM where all the events of guest OS are reported ?
2. And if possible a log file with important events in it ?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
This below one find the table name in the log.I want location of log file.Please any help
> find / -type f -name "*.log" -exec grep -i 'sct' {} 2>/dev/null \;
. . importing table "sct"
. . exporting table sct
. . importing table "sct"
. . exporting table sct
... (1 Reply)
Discussion started by: mohan705
1 Replies
2. Shell Programming and Scripting
i have a file having 30 million records.i want to generate a file having say 5% of total records in another file. the records in the new file shud be randomly generated. (1 Reply)
Discussion started by: Nishithinfy
1 Replies
3. Shell Programming and Scripting
Hi Everyone,
I have 1.txt
here
a
b
c' funny"yes";
d
e
The finally output is:
here
a
b
c
d
e' funny"yes"; (1 Reply)
Discussion started by: jimmy_y
1 Replies
4. Shell Programming and Scripting
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies
5. Shell Programming and Scripting
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies
6. Shell Programming and Scripting
Dear All,
I have a template xml file like below.
....Some---Header.......
<SignalPreference>
...
<SignalName>STRING</SignalName>
...
</SignalPreference>
......Some formatting text.......
<SignalPreference>
.........
... (3 Replies)
Discussion started by: ks_reddy
3 Replies
7. Shell Programming and Scripting
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies
8. HP-UX
Ignore. (is it impossible to delete your own thread?) (0 Replies)
Discussion started by: bstring
0 Replies
9. HP-UX
Hi All ,
Here we have 1 physical machine followed by 5 guest machine under HPVM.
Version HPVM -- B.04.20 -- Integrity VM HPVM
The main role of the base machine is to serve all the guest machine .
What is the best procedure to restart all the host and guest ... (0 Replies)
Discussion started by: marunmeera
0 Replies
LEARN ABOUT FREEBSD
pmc_flush_logfile
PMC_CONFIGURE_LOGFILE(3) BSD Library Functions Manual PMC_CONFIGURE_LOGFILE(3)
NAME
pmc_configure_logfile, pmc_flush_logfile, pmc_writelog, pmc_close_logfile -- log file management
LIBRARY
Performance Counters Library (libpmc, -lpmc)
SYNOPSIS
#include <pmc.h>
int
pmc_configure_logfile(int fd);
int
pmc_flush_logfile(void);
int
pmc_writelog(uint32_t userdata);
int
pmc_close_logfile(void);
DESCRIPTION
The functions manage logging of hwpmc(4) events.
Function pmc_configure_logfile() is used to turn on and turn off logging. If argument fd is a valid file handle returned by a prior call to
open(2) or socket(2) then performance events will be logged to the file corresponding to the specified handle. If the value of argument fd
is -1 then logging will be stopped after any pending data is flushed.
Function pmc_flush_logfile() will force all log data queued inside the hwpmc(4) driver to be written out.
Function pmc_writelog() will append a log entry containing the value of argument userdata to the log file.
Function pmc_close_logfile() will flush all pending log data and close hwpmc(4)'s side of the stream.
RETURN VALUES
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the
error.
ERRORS
A call to pmc_configure_logfile() may fail with the following errors:
[EAGAIN] The hwpmc(4) driver was not able to create a helper process due to system limits being reached.
[EBUSY] Function pmc_configure_logfile() was called with a log file already configured.
[EINVAL] Function pmc_configure_logfile() was called with an argument of -1 without a log file being previously configured.
[ENOMEM] The system encountered a memory shortage when servicing this request.
A call to pmc_flush_logfile() may fail with the following errors:
[EINVAL] Function pmc_flush_logfile() was called without a log file being previously configured.
A call to pmc_writelog() may fail with the following errors:
[EINVAL] Function pmc_writelog() was called without a log file being previously configured.
[ENOMEM] The system encountered a memory shortage when servicing this request.
SEE ALSO
pmc(3), hwpmc(4)
BSD
November 24, 2007 BSD