10-28-2010
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to write a script that will find all of the files in my current directory that contain a html extension that contains a URL with my user ID as a command line argument and have yhe script display the names of the files selected along with a count of the files found. I'm totally lost ???? Any... (4 Replies)
Discussion started by: jseiple
4 Replies
2. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
3. Shell Programming and Scripting
Ok, here it is:
I have a system that logs certain files every day. Every time a new day dawns, the system will create a folder with the name that is respective to the day's date (12-06-07) and start putting new files in that folder.
I have another system that needs these files. I am going to:... (1 Reply)
Discussion started by: bbbngowc
1 Replies
4. UNIX for Dummies Questions & Answers
Hello
I have a ton of files in a directory of the format app.log.2008-04-04
I'd like to run a command that would archive each of these files as app.log.2008-04-04.tgz
I tried a few combinations of find with xargs etc but no luck.
Thanks
Amit (4 Replies)
Discussion started by: amitg
4 Replies
5. Shell Programming and Scripting
Finding Files - I am learning more about scripting each day but I am having a hard time figuring out how to write a script to pick particular files from a list ls command. Basically I have several hundred files with the file name being: AAB110321015704.raw or BBA110321015704.raw WHERE the... (6 Replies)
Discussion started by: rdburg
6 Replies
6. Shell Programming and Scripting
Hi guys can you please help me with a script to find files with one row/1 line of content then move the file to another directory my script below runs but nothing happens to the files....Alternatively Ca I get a script to find the *.csv files with "wc -1" results = 1 then create a list of those... (5 Replies)
Discussion started by: Dj Moi
5 Replies
7. Shell Programming and Scripting
I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also?
I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies
8. Shell Programming and Scripting
Hi,
Is there a direct command or need to write a shell script for following requirement?
Everyday a folder is populated with approx 25k to 30k xml files. I need to create multiple zip files in the same folder each containing 50 xml files. The last zip file may or may not contain 50 xml files.... (6 Replies)
Discussion started by: Rakesh Thobula
6 Replies
9. Shell Programming and Scripting
Hi,
Can anyone help me how to convert a .csv file to a .pdf file using shell script
Thanks (2 Replies)
Discussion started by: ssk250
2 Replies
LEARN ABOUT DEBIAN
dmevent_tool
DMEVENT_TOOL(8) DMEVENT_TOOL(8)
NAME
dmevent_tool - A utility used to load a DSO into dmeventd and (un)register devices with it for monitoring
SYNOPSIS
dmevent_tool -[Vhmru] {RAID device name} {DSO Name}
DESCRIPTION
dmevent_tool is a userspace utility used to register/unregister DSOs with the daemon dmeventd.
If used with the -m command line parameter users can display all of the actively dmeventd monitored devices.
OPTIONS
-V Show version of dmevent_tool
-{h/?} Show this help information
-m[r|u] List all currently active device mapper devices
and their current status with dmeventd
for registered (-r)/unregistered (-m) devices
Syntax: dmevent_tool -m[u|r]
-a[r|u] Same as -m, but for devices with UUID only!
Syntax: dmevent_tool -a[u|r]
-r Register a device with dmeventd
Syntax: dmevent_tool -r <device name> <path to DSO library>
Example: dmevent_tool -r isw_abcdeh_Volume0 libdmraid-events.so
-u Unregister a device with dmeventd
Syntax: dmevent_tool -u <device name> [<path to DSO library>]
Example: dmevent_tool -u isw_abcdefgh_Volume0
EXAMPLES
dmevent_tool -m is used to display all of the actively monitored devices
dmevent_tool -m
Device Name: isw_defeaigdde_Volume0_dmraid00
Registered DSO: libdmraid-events.so
UUID: isw_defeaigdde_Volume0_dmraid00
status: Active
major device #: 253
minor device #: 0
read only device: No
number of recorded kernel events: 0
SATA drives in this volume group: /dev/sdb /dev/sdc
dmevent_tool -r is used to register a volume group device with dmeventd
dmevent_tool -r isw_defeaigdde_Volume0_dmraid00 libdmraid-events.so
dmevent_tool -u is used to unregister a volume group from dmeventd
dmevent_tool -u isw_defeaigdde_Volume0_dmraid00
DIAGNOSTICS
dmevent_tool returns an exit code of 0 for success or 1 for error.
AUTHOR
Brian Wood <brian.j.wood@intel.com>
Brian Wood 1.0.0.rc3 DMEVENT_TOOL(8)