I am working on a Perl script to run from an AIX Nim server to extract hardware errors from our Linux server using various forms of grep statements -
I have all my hosts in a text file and a command is run from the nim server to each host to pull out data from /var/log/messages and compile it into an email.
I seem to be strruggling with the following line:
in that I am getting thousands of multipath io messages and only want to print it in my report if it occurs once.
e.g.
Is there a way I can do this through using egrep/grep? I have been using '-m' option but it doesn't seem to be helping.
i just want my script to produce a report from each server's messages file for those hardware faults but not filling up my mailbox.
Hello out there!!!
I have a Red Hat Entreprise Linux 4 server and I am encountering this error
# grep
Segmentation Fault
I know it is not the right use of grep command, but I did that just for testing purpose,then I did
# which grep
/bin/grep
# ls -l /bin/grep
-rwxr-xr-x 1 root... (4 Replies)
I would like to configure a bare minimum Linux with internet browser on a system with Flash & RAM (but no harddisk or any other nonvolatile storage). Please advise. (5 Replies)
Hi,
Operating System: Ubuntu 10.04
Other Packages Installed: freetds,DBI,DBD-Sybase
I am trying to connect to SYBASE using perl programming..But the moment I am executing my perl program it throws a SEGMENTATION FAULT error.
I have attached strace output for the same...
Thanks for... (1 Reply)
We have run software on Dell Servers w/ Windows and seen the performance degrade overtime. We switched to an IBM server w/ AIX and have not seen the same performance degradation over time. In fact, the IBM servers are at least five years old and continue to preform well at the same level.
How... (2 Replies)
Hi,
I want to do some fault association analysis in red hat linux. who can tell me where I can get all of the fault information, and the detailed description about this fault information.
Thank you very much. (4 Replies)
Hi guys, first of all apologize for my English...
I have a big problem with "Segmentation fault", when running my game server.
Console:
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x00007ffff702aca4 in std::basic_ostream<char,... (1 Reply)
Hello folks,
I pretend acquire this hardware:
1-Motherboard Asus Skt1151 - H110M-A/M.2 (https://www.asus.com/pt/Motherboards...cifications/);
2-Intel i5 6400 2.7Ghz QuadCore Skt1151;
or
2-Intel i5 6500 3.2Ghz QuadCore Skt1151;
3-Dimm 8GB DDR4 Kingston CL15 2133Mhz;
Obvious I pretend... (1 Reply)
Discussion started by: enodev
1 Replies
LEARN ABOUT DEBIAN
multipathd
MULTIPATHD(8) System Manager's Manual MULTIPATHD(8)NAME
multipathd - multipath daemon
SYNOPSIS
multipathd [options]
DESCRIPTION
The multipathd daemon is in charge of checking for failed paths. When this happens, it will reconfigure the multipath map the path belongs
to, so that this map regains its maximum performance and redundancy.
This daemon executes the external multipath config tool when events occur. In turn, the multipath tool signals the multipathd daemon when
it is done with devmap reconfiguration, so that it can refresh its failed path list.
OPTIONS -d Forground Mode. Don't daemonize, and print all messages to stdout and stderr.
-v level
Verbosity level. Print additional information while running multipathd. A level of 0 means only print errors. A level of 3 or
greater prints debugging information as well.
-k multipathd will enter interactive mode. From this mode, the available commands can be viewed by entering "help". When you are fin-
ished entering commands, press CTRL-D to quit.
COMMANDS
The following commands can be used in interactive mode:
list|show paths
Show the paths that multipathd is monitoring, and their state.
list|show paths format $format
Show the paths that multipathd is monitoring, using a format string with path format wildcards.
list|show maps|multipaths
Show the multipath devices that the multipathd is monitoring.
list|show maps|multipaths format $format
Show the status of all multipath devices that the multipathd is monitoring, using a format string with multipath format wildcards.
list|show maps|multipaths status
Show the status of all multipath devices that the multipathd is monitoring.
list|show maps|multipaths stats
Show some statistics of all multipath devices that the multipathd is monitoring.
list|show maps|multipaths topology
Show the current multipath topology. Same as "multipath -ll".
list|show topology
Show the current multipath topology. Same as "multipath -ll".
list|show map|multipath $map topology
Show topology of a single multipath device specified by $map, e.g. 36005076303ffc56200000000000010aa. This map could be obtained
from "list maps".
list|show wildcards
Show the format wildcards used in interactive commands taking $format
list|show config
Show the currently used configuration, derived from default values and values specified within the configuration file /etc/multi-
path.conf.
list|show blacklist
Show the currently used blacklist rules, derived from default values and values specified within the configuration file /etc/multi-
path.conf.
list|show devices
Show all available block devices by name including the information if they are blacklisted or not.
list|show status
Show the number of path checkers in each possible state, the number of monitored paths, and whether multipathd is currently handling
a uevent.
add path $path
Add a path to the list of monitored paths. $path is as listed in /sys/block (e.g. sda).
remove|del path $path
Stop monitoring a path. $path is as listed in /sys/block (e.g. sda).
add map $map
Add a multipath device to the list of monitored devices. $map can either be a device-mapper device as listed in /sys/block (e.g.
dm-0) or it can be the alias for the multipath device (e.g. mpath1) or the uid of the multipath device (e.g.
36005076303ffc56200000000000010aa).
remove|del map $map
Stop monitoring a multipath device.
resize map|multipath $map
Resizes map $map to the given size
switch|switchgroup map $map group $group
Force a multipath device to switch to a specific path group. $group is the path group index, starting with 1.
reconfigure
Reconfigures the multipaths. This should be triggered automatically after any hotplug event.
suspend map|multipath $map
Sets map $map into suspend state.
resume map|multipath $map
Resumes map $map from suspend state.
fail path $path
Sets path $path into failed state.
reinstate path $path
Resumes path $path from failed state.
disablequeueing maps|multipaths
Disable queueing on all multipath devices.
restorequeueing maps|multipaths
Restore queueing on all multipath devices.
disablequeueing map|multipath $map
Disable queuing on multipathed map $map
restorequeueing map|multipath $map
Restore queuing on multipahted map $map
quit|exit
End interactive session.
SEE ALSO multipath(8)kpartx(8)hotplug(8)AUTHORS
multipathd was developed by Christophe Varoqui, <christophe.varoqui@opensvc.com> and others.
Linux Administrator's Manual November 2009 MULTIPATHD(8)