8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Team,
i need to list only those number from the input file which begin with 24
input file is
2412
2413
2456
2134
2134
2244
2526
expected output i want is
2412
2413
2456 (6 Replies)
Discussion started by: scriptor
6 Replies
2. Shell Programming and Scripting
Hello, I'm looking for sed solution to change
...
<li>keyword</li>
<li>keyword
<li>keyword</li>
<li>keyword
<li>keyword</li>
...
to
...
<li>keyword</li>
<li>keyword</li>
<li>keyword</li>
<li>keyword</li>
<li>keyword</li>
...
I.e., if lines beginning with <li> do not end with... (3 Replies)
Discussion started by: pioavi
3 Replies
3. Shell Programming and Scripting
Hi,
This must be simple but I can't get it to work. I have the follow code to insert the contents of a file into an array and then I want to print the value of a container where all of the records in another container within the array start with 33 (that's not all I want to do but it is all I... (2 Replies)
Discussion started by: Donkey25
2 Replies
4. Shell Programming and Scripting
Hi guys,
I have got a file which doesn't have the same number of columns in each line. I would like to print the second column and the one that begins with 33= and has some numbers after '33='
Can you please help me asap?
Cheers (7 Replies)
Discussion started by: alexandra_ola
7 Replies
5. Programming
Hello there,
My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64.
It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386).
The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a bunch of images (8k) in several directories. I want to tar these directories up and unzip them to development and production with the same path.
Example:
/about/images/sample_01
/about/images/sample_02
/about/images/sample_03
/about/images/lorem_ipsum... (4 Replies)
Discussion started by: andylee80
4 Replies
7. Shell Programming and Scripting
Hello!
I wish to extract the pid where CPU is above 10%
last pid: 22621; load averages: 4.71, 5.04, 5.13 15:08:34
221 processes: 212 sleeping, 2 running, 1 stopped, 6 on cpu
CPU states: %... (3 Replies)
Discussion started by: Lomic
3 Replies
8. UNIX for Dummies Questions & Answers
I have a file named: $$$.p0001.ps how can I rename this file? I'm using the C shell.
-westcoldspring (3 Replies)
Discussion started by: westcoldspring
3 Replies
devswmgr(8) System Manager's Manual devswmgr(8)
NAME
devswmgr - utility to manage the device switch database
SYNOPSIS
/sbin/devswmgr [-option [parameter]]
OPTIONS
Displays the following information about the device switch database:
Whether a device switch database was read from the primary file or from a backup file
The number of entries that are in the device switch table Displays the major numbers that have been reserved by all drivers, a named
driver, or an instance of a named driver.
A driver that requires more than one entry in the device switch table uses a unique instance number to reference each of its device
switch table entries. Displays help for the devswmgr command. Releases all the major numbers for a device driver if just the
driver name is specified. Releases one major number for a device driver if the NAME and the INSTANCENUM of the driver are speci-
fied.
DESCRIPTION
The devswmgr command helps you manage the device switch table by displaying information about the devices drivers in the table.
You can also use the command to release device switch table entries. Typically, you release the entries for a driver after you have
unloaded the driver and do not plan to reload it later. Releasing the entries frees them for use by other device drivers.
EXAMPLES
The following example shows that a device switch table was loaded from the primary device and that there are 70 entries in it: %
/sbin/devswmgr -display Device switch information
device switch database read from primary file
device switch table has 70 entries The following example shows the major numbers in the device switch table that have been reserved for
the driver named cam_disk: % /sbin/devswmgr -getnum driver=cam_disk
Device switch reservation list
(*=entry in use)
driver name instance major
------------------------------- -------- -----
cam_disk 1 8*
FILES
The file that manages the device switch databases The primary device switch database file The backup device switch database file
SEE ALSO
Commands: scsimgr(8)
devswmgr(8)