Hello,
I am getting below error in fmadm output. This server is not in support, so can't reach them. Is it showing that motherboard is faulty and should be replaced ? It was rebooted a week back and then, there were no errors
I have two files:
file1:
somedata
<html>
<head>
This is sample statement
......
......
</head>
</html>
somedata
file2:
olga 81 91 B A
rene 82 92 B A
zack 83 93
Expextd Result: (2 Replies)
Hi,
I am working on a command that replaces some occurrences of quotation marks in file. The quotation mark cannot be the first or the last character in line and cannot be preceded or followed by a comma.
I am not an expert in regular expressions, but I managed to create the following... (2 Replies)
Hi
Can anyone provide me the replacement of sed with xargs perl syntax for the below
sed -e :a -e '/;$/!N;s/\n//; ta' -e 's/;$//'
This should be without looping has to take minimal time for search (0 Replies)
I've been tasked with converting our software from strictly an IPv4 environment to handling both IPv4 and IPv6. I'm very nearly done and everything seems to be progressing just fine. There's just one thing that's been nagging me for a while now, so I thought I'd enquire about this.
I've read... (1 Reply)
There is a requirement that i need to replaced a pattern by another pattern in all the files in my entire file system. there are 1000s of file in the system. let the pattern is "calcuta". i have to replace this pattern by "kolkata" in all those files which contain "calcuta".
I am only able to... (12 Replies)
Hi All,
I have below file which has data in below format.
#$ | AB_100
| AB_300
()| AB_4
@*(% | AB-789
i want o/p as below format.
| AB_100
| AB_300
| AB_4
| AB-789
So here there is no standard format.
How we can achieve the same in unix ?
Regards, (3 Replies)
Hi,
i have a file with lines,
file.txt
-------
test is fun
testing is better
I need to replace 'test' to 'develop' and i used,
a=test
b=develop
sed "s,$a,$b,g" -------- but i see the word 'testing' is also replaced. Need some solution. Is there any way i could replace only 'test' ? (4 Replies)
Hi
pls help me for below;
i have a file .content is :
===================
uid,pcsPricingPlan,refPcsQosProfName
821910002022,smartlimit,SGSNQOS1
i have to replace the value of uid and pricingplan by a unix script.
may be the value would be next line or any where in the file.
pls... (9 Replies)
I recently picked up an HP9000 server running HPUX. I would like to replace the CRT terminal console with something I can use a flat panel monitor. Any suggestions would be greatly appreciated. (1 Reply)
Discussion started by: Stevebei
1 Replies
LEARN ABOUT PLAN9
fmstat
fmstat(1M) System Administration Commands fmstat(1M)NAME
fmstat - report fault management module statistics
SYNOPSIS
fmstat [-asz] [-m module] [interval [count]]
DESCRIPTION
The fmstat utility can be used by administrators and service personnel to report statistics associated with the Solaris Fault Manager,
fmd(1M) and its associated set of modules. The Fault Manager runs in the background on each Solaris system. It receives telemetry informa-
tion relating to problems detected by the system software, diagnoses these problems, and initiates proactive self-healing activities such
as disabling faulty components.
You can use fmstat to view statistics for diagnosis engines and agents that are currently participating in fault management. The documenta-
tion for fmd(1M), fmadm(1M), and fmdump(1M) describes more about tools to observe fault management activities.
If the -m option is present, fmstat reports any statistics kept by the specified fault management module. The module list can be obtained
using fmadm config.
If the -m option is not present, fmstat reports the following statistics for each of its client modules:
module The name of the fault management module, as reported by fmadm config.
ev_recv The number of telemetry events received by the module.
ev_acpt The number of events accepted by the module as relevant to a diagnosis.
wait The average number of telemetry events waiting to be examined by the module.
svc_t The average service time for telemetry events received by the module, in milliseconds.
%w The percentage of time that there were telemetry events waiting to be examined by the module.
%b The percentage of time that the module was busy processing telemetry events.
open The number of active cases (open problem investigations) owned by the module.
solve The total number of cases solved by this module since it was loaded.
memsz The amount of dynamic memory currently allocated by this module.
bufsz The amount of persistent buffer space currently allocated by this module.
The fmstat utility requires the user to posses the SYS_CONFIG privilege. Refer to the System Administration Guide: Security Services for
more information about how to configure Solaris privileges.
OPTIONS
The following options are supported:
-a Print all statistics for a module, including those kept on its behalf by fmd. If the -a option is not present, only those
statistics kept by the module are reported. If the -a option is used without the -m module, a set of global statistics
associated with fmd are displayed.
-m module Print a report on the statistics associated with the specified fault management module, instead of the default statistics
report. Modules can publish an arbitrary set of statistics to help Sun service the fault management software itself. The
module statistics constitute a Private interface. See attributes(5) for information on Sun's rules for Private interfaces.
Scripts should not be written that depend upon the values of fault management module statistics as they can change without
notice.
-s Print a report on Soft Error Rate Discrimination (SERD) engines associated with the module instead of the default module
statistics report. A SERD engine is a construct used by fault management software to determine if a statistical threshold
measured as N events in some time T has been exceeded. The -s option can only be used in combination with the -m option.
-z Omit statistics with a zero value from the report associated with the specified fault management module. The -z option can
only be used in combination with the -m option.
OPERANDS
The following operands are supported:
count Print only count reports, and then exit.
interval Print a new report every interval seconds.
If no interval and no count are specified, a single report is printed and fmstat exits. If an interval is specified but no count is speci-
fied, fmstat prints reports every interval seconds indefinitely until the command is interrupted.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 A fatal error occurred. A fatal error could be the failure to communicate with fmd(1M). It could also be that insufficient privi-
leges were available to perform the requested operation.
2 Invalid command-line options were specified.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfmd |
+-----------------------------+-----------------------------+
|Interface Stability |See below. |
+-----------------------------+-----------------------------+
The command-line options are Evolving. The human-readable default report is Unstable. The human-readable module report is Private.
SEE ALSO fmadm(1M), fmd(1M), fmdump(1M), attributes(5)
System Administration Guide: Security Services
SunOS 5.10 8 Mar 2004 fmstat(1M)