9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I need to write a script (script1) which run other script (script2) multiple time, but split the runs.
lets say I need to run 100 times. but I want it to run 5 times at a time and after all the 5 runs of script2 are done anther 5 start.
Script1 define the variable in script2 as the number... (2 Replies)
Discussion started by: galboski
2 Replies
2. UNIX for Dummies Questions & Answers
Hi guys
So I've got this PERL script that for one reason or another I need to run as a user other than the user that created the script.
When I su - to another user the script won't run and doesn't give me any output as to why. No permission denied or anything like that.
I've chmod 777'd the... (5 Replies)
Discussion started by: Jaymoney
5 Replies
3. UNIX for Advanced & Expert Users
i am creating threads in my program using the POSIX interface.
when the thread starts executing i run out of memory and get a core dump.
i have tried to increase the threads stack size using pthread_attr_setstacksize, but of no use since i guess the dynamic memory is allocated on the heap and... (1 Reply)
Discussion started by: aniketkadu2002
1 Replies
4. Shell Programming and Scripting
I have a script that searches for specific information from log files.
#!/bin/sh
sed -n '/*C/,/END/p' /sn/log/OMlog* > crit.out
sed -n '/REPT INITIALIZATION/,/err:/p' /sn/log/OMlog* > switchcc.out
./start.awk /sn/log/OMlog* > ARs.out
./end.awk /sn/log/OMlog* > ARe.out
cat crit.out... (1 Reply)
Discussion started by: grinds
1 Replies
5. UNIX for Advanced & Expert Users
I have a ksh script that executes a program with a predetermined timeout in minutes. If the program takes longer then the timeout then it still completes with a return code of 0. :confused:
I would like to determine how long the program ran. Then if it takes longer than the timeout I would... (7 Replies)
Discussion started by: 2dumb
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a problem with the following. I am trying to learn UNIX and as I am not an expert I don't know how to do the following exercise:
Requirement: Show knowledge of how to use some or all of the following commands:
· rm
· cp
· mv
· if
· test
· alias
· getopts and shift (See by... (1 Reply)
Discussion started by: pksb
1 Replies
7. Shell Programming and Scripting
Hi,
I have a problem with the following. I am trying to learn UNIX and as I am not an expert I don't know how to do the following exercise:
Requirement: Show knowledge of how to use some or all of the following commands:
· rm
· cp
· mv
· if
· test
· alias
· getopts and shift (See by... (0 Replies)
Discussion started by: pksb
0 Replies
8. UNIX for Advanced & Expert Users
Hello experts,
I have a series issue in script that result with bad peformence and I wonder if you can assist me.
For example
I have two files:
File-New, size 15Mb.
File-Old, size 1Mb.
File-New content:
a
b
c
k
File-Old content:
d
f
a
b (0 Replies)
Discussion started by: roybe
0 Replies
9. UNIX for Dummies Questions & Answers
I have a command that is found in /usr/ud51/bin called stopudt which safely stops idle database users (let's writes finish, etc).
If I login as root and issue stopudt the process is stopped.
I put a script in cron to run it and it says stopudt not found.
/usr/ud51/bin is in root's PATH. ... (10 Replies)
Discussion started by: michieka
10 Replies
PCIIDE(4) BSD Kernel Interfaces Manual PCIIDE(4)
NAME
pciide -- PCI IDE disk controllers driver
SYNOPSIS
pciide* at pci? dev ? function ? flags 0x0000
pciide* at pnpbios? index ?
DESCRIPTION
The pciide driver supports the PCI IDE controllers as specified in the "PCI IDE controller specification, revision 1.0" draft, and provides
the interface with the hardware for the ata driver. Please use the chip-specific drivers for the following controllers for enhanced and DMA
support:
- Acard ATP850 (Ultra/33) and ATP860 (Ultra/66) IDE Controllers: acardide(4)
- Acer labs M5229 IDE Controller: aceride(4)
- Advanced Micro Devices AMD-756, 766, and 768 IDE Controllers: viaide(4)
- Advanced Micro Devices Geode IDE Controllers: geodeide(4)
- CMD Tech PCI0643, PCI0646, PCI0648, and PCI0649 IDE Controllers: cmdide(4)
- Contaq Microsystems/Cypress CY82C693 IDE Controller: cypide(4)
- HighPoint HPT366 Ultra/66, HPT370 Ultra/100, HPT372, and HPT374 Ultra/133 IDE controller: hptide(4)
- Intel PIIX, PIIX3, and PIIX4 IDE Controllers: piixide(4)
- Intel i31244 Serial ATA controller: artsata(4)
- Intel 82801 (ICH/ICH0/ICH2/ICH3/ICH4/ICH5/ICH6) IDE Controllers: piixide(4)
- Intel SCH IDE Controllers: schide(4)
- NVIDIA nForce/nForce2 IDE Controllers: viaide(4)
- OPTi 82c621 (plus a few of its derivatives) IDE Controllers: optiide(4)
- Promise PDC20246 (Ultra/33), PDC20262 (Ultra/66), PDC20265/PDC20267 (Ultra100), PDC20268 (Ultra/100TX2 and Ultra/100TX2v2),
Ultra/133, Ultra/133TX2 and Ultra/133TX2v2 PCI IDE controllers: pdcide(4)
- Serverworks K2 SATA controllers: svwsata(4)
- Silicon Image 0680 IDE controller: cmdide(4)
- Silicon Image SATALink 3112 Serial ATA controller: satalink(4)
- Silicon Image SteelVine 3124/3132/3531 Serial ATA II controller: siisata(4)
- Silicon Integrated System 5597/5598 IDE controller: siside(4)
- Symphony Labs 82C105 and Winbond W83C553F IDE controller: slide(4)
- VIA Technologies VT82C586, VT82C586A, VT82C596A, VT82C686A, VT8233A, and VT8235 IDE Controllers: viaide(4)
The 0x0001 flag forces the pciide driver to use DMA when there is no explicit DMA mode setting support for the controller but DMA is present.
If the BIOS didn't set up the controller properly, this can cause a machine hang.
The 0x0002 flag forces the pciide driver to disable DMA on chipsets for which DMA would normally be enabled. This can be used as a debugging
aid, or to work around problems where the IDE controller is wired up to the system incorrectly.
SEE ALSO
acardide(4), aceride(4), artsata(4), ata(4), atapi(4), cmdide(4), cypide(4), geodeide(4), hptide(4), intro(4), optiide(4), pci(4), pdcide(4),
piixide(4), pnpbios(4), satalink(4), schide(4), siisata(4), siside(4), slide(4), viaide(4), wd(4), wdc(4)
BSD
November 7, 2010 BSD