10 More Discussions You Might Find Interesting
1. Programming
I'm reading Operating Systems in Depth by Thomas W. Doeppner, and I have a question about execl. He says it's called after fork(), and that it replaces the text (code) of the current process and replaces it with the code of the new program. But that doesn't make sense to me.
Does that mean... (4 Replies)
Discussion started by: SirSalt
4 Replies
2. AIX
When shutdown an oracle server i see this error message
at exit
umount /oracle/
umount: error unmounting /dev/oracle: Device busy
lsof and fuser report nothing
but
ps aux|grep oracle
report this
oracle 5964026 0,0 0,0 448 448 - A apr 21 0:00 aioserver
oracle ... (16 Replies)
Discussion started by: Linusolaradm1
16 Replies
3. UNIX for Dummies Questions & Answers
Hello to all. I'm new to this forum, so please go easy on me. =)
I am working on a script to send two e-mail attachments in a single e-mail, and am running into a little bit of an issue when using process substitution. I am using the following:
cat <(uuencode $1 <(basename $1)) <(uuencode... (5 Replies)
Discussion started by: rommager
5 Replies
4. AIX
Hi Gurus,
What is the recommended value for aioserver in aix 5.3
current value is 16384
And used is ps -k|wc -l 4768
We usauslly get issues like slow server performance and query waiting time more etc.
Regards
newaix (2 Replies)
Discussion started by: newaix
2 Replies
5. UNIX for Dummies Questions & Answers
Hey guys,
So i did some research on the site but previous posts answered most of my questions about zombie processes but I have one question that didnt seem to get addressed
"how do you find the parent or parent ID of a zombie process so you can kill it?"
I know p -kill doesnt always just... (6 Replies)
Discussion started by: kingpin007
6 Replies
6. AIX
I am an Oracle DBA with some strange IO performance problems.
Between 04:00 and 06:00 AM local time each day I see a degrading of
IO performance (to a SAN).
I see that the AIX diagnostics seem to begin at 04:00.
Is it likely that AIX diagnostics might be affecting IO?
Additional... (2 Replies)
Discussion started by: sink
2 Replies
7. Shell Programming and Scripting
I have no idea how to do this:
Let's say the user opens an "xclock &" in one of my scripts and I don't want him to be able to re-open one with the script. How could I test that? Possibly with a message saying that "The <xclock(or w/e other process like xcalc)> is already running in the... (3 Replies)
Discussion started by: Yakuzan
3 Replies
8. UNIX for Dummies Questions & Answers
I have a file which contains 6 columns.
But I only need the first 3 columns. So I need to remove the last 3 columns. I checked 'cut' but it seems not working.
So is there a command that could remove certain columns from a file? :(
Thanks a lot!! (5 Replies)
Discussion started by: kaixinsjtu
5 Replies
9. UNIX for Dummies Questions & Answers
I know its kinda silly but I've seen the texts consider one side - a thread executes and finishes its task but I was wondering what will happen if the process dies when the thread is still under execution... I somehow think that the thread will continue execution but am backing off from the fact... (10 Replies)
Discussion started by: Legend986
10 Replies
10. Programming
Hi everybody,
I'm trying to understand how a parent and child processes interact.
This function( below) basically measures the fork time from the perspective of the parent only.
what i would like to know is how to measure the time from the perspective of parent and child (ie: inserting... (0 Replies)
Discussion started by: tosa
0 Replies
QUIZ(6) BSD Games Manual QUIZ(6)
NAME
quiz -- random knowledge tests
SYNOPSIS
quiz [-t] [-i file] [question answer]
DESCRIPTION
The quiz utility tests your knowledge of random facts. It has a database of subjects from which you can choose. With no arguments, quiz
displays the list of available subjects.
The options are as follows:
-t Use tutorial mode, in which questions are repeated later if you didn't get them right the first time, and new questions are presented
less frequently to help you learn the older ones.
-i Specify an alternative index file.
Subjects are divided into categories. You can pick any two categories from the same subject. quiz will ask questions from the first cate-
gory and it expects answers from the second category. For example, the command ``quiz victim killer'' asks questions which are the names of
victims, and expects you to answer with the cause of their untimely demise, whereas the command ``quiz killer victim'' works the other way
around.
If you get the answer wrong, quiz lets you try again. To see the right answer, enter a blank line.
Index and Data File Syntax
The index and data files have a similar syntax. Lines in them consist of several categories separated by colons. The categories are regular
expressions formed using the following meta-characters:
pat|pat alternative patterns
{pat} optional pattern
[pat] delimiters, as in pat[pat|pat]pat
In an index file, each line represents a subject. The first category in each subject is the pathname of the data file for the subject. The
remaining categories are regular expressions for the titles of each category in the subject.
In data files, each line represents a question/answer set. Each category is the information for the question/answer for that category.
The backslash character (``'') is used to quote syntactically significant characters, or at the end of a line to signify that a continuation
line follows.
If either a question or its answer is empty, quiz will refrain from asking it.
FILES
/usr/share/games/quiz The default index and data files.
BUGS
quiz is pretty cynical about certain subjects.
BSD
May 31, 1993 BSD