12-03-2013
The scan rate is a value reported by the kernel. Anything non zero means there was a RAM shortage. The higher the value and the longer it stay non zero, the bigger the shortage.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need some help. I been doing system admin for the last several years and gotten very rusty on scripting. I need to write a script that will take a log entry and do math using two columns of data to create a new column. I am taking the column(#2) that contains the time and the column(#5) that... (3 Replies)
Discussion started by: scottzx7rr
3 Replies
2. UNIX for Dummies Questions & Answers
The formula below will calculate a distance in miles between 2 points in excel. Can some put it to work in unix?
Lat = 43.335
Lon1 = -70.9884
Lat2 = 43.4829
Lon2 = -71.246
distance... (8 Replies)
Discussion started by: bobo
8 Replies
3. Shell Programming and Scripting
Hello Unix gurus,
Can anyone tell me the most efficient way to create script for the formula?
Formula:
Ans = 1 - ((Buffer pool data physical reads + Buffer pool xda physical reads + Buffer pool index physical reads + Buffer pool temporary data physical reads + Buffer pool temporary xda... (6 Replies)
Discussion started by: Rahulpict
6 Replies
4. Shell Programming and Scripting
Hello,
I'm trying to create a shell script (#!/bin/sh) which should tell me the age of a file in minutes...
I have a process, which delivers me all 15 minutes a new file and I want to have a monitoring script, which sends me an email, if the present file is older than 20 minutes.
To do... (10 Replies)
Discussion started by: worm
10 Replies
5. Shell Programming and Scripting
I'm new to Perl, but I need to use it to write into an excel spreadsheet. I want to copy the values of certain cells into a new sheet in the workbook. I'm unsure of how to do this because I don't know how to copy values instead of formulas.
Note: by formula I mean '=SUM(A1,A2)' and by value I... (0 Replies)
Discussion started by: AgentSmith88
0 Replies
6. AIX
Hello,
How can i tell ifthe ratio between fr and sr is ok?
is fr/sr ratio of 0.9 acceptable?
thanks. (1 Reply)
Discussion started by: LiorAmitai
1 Replies
7. AIX
Hi Guys,
The management is being frisky about scan rate in the range of a few thousands ( 4 digit scan rates occasionally). After much research ive concluded that its ok to have high scan rates , unless it leads to swapping/ it falls above 1:4 ratio with free rate (fr:sr)
My question is:... (2 Replies)
Discussion started by: muzahed
2 Replies
8. Solaris
Hi All,
I need suggestions to monitoring Scan Rate on Solaris Operating System.
Any idea?
Thanks
Edy (5 Replies)
Discussion started by: edydsuranta
5 Replies
9. Shell Programming and Scripting
Dear Masters,
Kindly need your helps for this issue..
I face a formula as a picture...
the input file is
A DEPT Vp Vs rho VPperVS
------------------------ ------------ ------------ ------------
700 151.9218 121.9269 ... (11 Replies)
Discussion started by: ipatah
11 Replies
10. Solaris
Dear Experts,
If there is a possible Solaris Cluster failover to second node based on scan rate?
I need the documentation If solaris cluster can do this.
Thank You in Advance
Edy (3 Replies)
Discussion started by: edydsuranta
3 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