03-08-2011
hi i need to monitor the log file and need to perform the series of steps as soon as i see some text .the below code is just greeping data .
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
we have written an auto emailer script for some autosys jobs getting delayed using C-Shell. We would also like to enhance this by sending out a page to the support personnel. Is there any way in C-Shell or autosys wherein we have the facility to send these pager messages ? Please help !! (1 Reply)
Discussion started by: pavankri
1 Replies
2. UNIX for Advanced & Expert Users
hi all..
i need any help. i want to create in my crontab a simple script for verify any process and notify for the status in my e-mail or cell phone.
anybody help me? (9 Replies)
Discussion started by: squash
9 Replies
3. UNIX for Dummies Questions & Answers
Hello
If you want a short description read my last thread!
I have no root access anymore. No remote access! By user access i get a programm started and when i close it, i got logged off!
So I guess I messed up the passwd file!
is there a chance of booting a unix system (SCO-UNIX UnixWare... (15 Replies)
Discussion started by: Fwurm
15 Replies
4. UNIX for Dummies Questions & Answers
Does anyone have a script to check disk space usage.
My backup directory keeps filling up with archivelog files and
I need a script to let me know by email or pager when the filesystem is 80% full.
Thank you! (1 Reply)
Discussion started by: jzjy0r
1 Replies
5. AIX
Hi,
I have two aliases for two types of alert.
/etc/aliases
italert1: user1@company.com
italertb: 123456@paging.isp.com
The first alias containts only an email to go through the company exchange/mail server. Works fine.
The second alias contains only a pager which also works fine.... (2 Replies)
Discussion started by: itik
2 Replies
6. Shell Programming and Scripting
Hi friends
I have configuration files in one directory. I want to get an alert if any of the existing files gets modified or any new configuration file is present in the directory.
Please help me to design a script for this task.
Thanks in advance.
John (2 Replies)
Discussion started by: johnl
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I need an alert to be triggered if any filesystem(imagine there are n no of filesystems) reaches more than 90%, it should send an alert to the mailbox stating which filesystem is at what percentage. How can I achieve this in unix?
Many thanks. (8 Replies)
Discussion started by: venkatesht
8 Replies
8. Shell Programming and Scripting
Is it possible to add Pager Notification to mailx command?? :confused:
Or by any other mean.
---------- Post updated at 08:49 AM ---------- Previous update was at 07:08 AM ----------
Hi just want to specify that by Pager i mean a message to the mobile number.
Suppose i have following... (1 Reply)
Discussion started by: Sharma331
1 Replies
9. Shell Programming and Scripting
How can I have all my output to a terminal pager by default.
I want all output to pause once screen is full.
Piping to more does not work if the app/script is interactive (2 Replies)
Discussion started by: aydj
2 Replies
10. Cybersecurity
Hello All,
Want to share here an article for Whats app users that team whats app is requesting users to upgrade to its latest version since they have found a vulnerability; where Hacker could turn on a cell's camera, mic and scan messages and emails.
Here is an article from "THE VERGE" for... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
HWINFO(8) System configuration HWINFO(8)
NAME
hwinfo - probe for hardware
SYNOPSIS
hwinfo [ OPTIONS ]
DESCRIPTION
hwinfo is used to probe for the hardware present in the system. It can be used to generate a system overview log which can be later used
for support.
OPTIONS
Note that running hwinfo without any options is roughly equivalent to 'hwinfo --all --log=-'.
--<HARDWARE_ITEM>
This option can be given more than once. Probe for a particular HARDWARE_ITEM. Available hardware items are:
all, arch, bios, block, bluetooth, braille, bridge, camera, cdrom, chipcard, cpu, disk, dsl, dvb, fingerprint, floppy, framebuffer,
gfxcard, hub, ide, isapnp, isdn, joystick, keyboard, memory, modem, monitor, mouse, netcard, network, partition, pci, pcmcia, pcm-
cia-ctrl, pppoe, printer, redasd, reallyall, scanner, scsi, smp, sound, storage-ctrl, sys, tape, tv, uml, usb, usb-ctrl, vbe, wlan,
xen, zip
--short
Show only a summary. Use this option in addition to a hardware probing option.
--listmd
Normally hwinfo does not report RAID devices. Add this option to see them.
--only DEVNAME
This option can be given more than once. If you add this option, only data about devices with DEVNAME will be shown.
--save-config SPEC
Store config for a particular device below /var/lib/hardware. SPEC can be a device name, an UDI, or 'all'. This option must be given
in addition to a hardware probing option.
--show-config UDI
Show saved config data for a particular device.
--map If disk names have changed (e.g. after a kernel update) this prints a list of disk name mappings. Note that you must have used
--save-config at some point before for this can work.
--debug N
Set debug level to N. The debug info is shown only in the log file. If you specify a log file, the debug level is implicitly set to
a reasonable value.
--verbose
Increase verbosity. Only together with --map.
--log FILE
Write log info to FILE.
--dump-db N
Dump hardware data base. N is either 0 for the external data base in /var/lib/hardware, or 1 for the internal data base.
--version
Print libhd version.
--help Print usage.
ENVIRONMENT
hwprobe can hold a comma-separated list of probing flags preceded by '+' or '-' to be turned on or off. To get a complete list of supported
flags, run 'hwinfo -all' (note: not '--all') and look at the top of the output.
hwinfo also looks at /proc/cmdline for a hwprobe option.
EXAMPLES
- show all disks
hwinfo --disk
- just an overview
hwinfo --short --block
- show a particular disk
hwinfo --disk --only /dev/sdb
- save disk config state
hwinfo --disk --save-config=all
- try 4 graphics card ports for monitor data (default: 3)
hwprobe=bios.ddc.ports=4 hwinfo --monitor
- monitor detection runs the Video BIOS to get the monitor data; dump a complete BIOS code execution trace to the log
hwprobe=bios.ddc.ports=1,x86emu=trace:dump:trace.only=0:dump.only=0 hwinfo --monitor --log=foo
FILES
/var/lib/hardware/hd.ids
External hardware data base (in readable text form). Try the --dump-db option to see the format.
/var/lib/hardware/udi
Directory where persistent config data are stored (see --save-config option).
BUGS
Not all hardware can be detected.
SEE ALSO
More documentation in /usr/share/doc/packages/hwinfo.
Source repository: git://git.opensuse.org/projects/hwinfo.git.
hwinfo June 2009 HWINFO(8)