06-02-2008
Please Post Answer
If you have had the good fortune to figure it out, then please post your answer to your own questions so others can benefit from it. You just posted two days ago and I come now in search of the same answers.
Thank you.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I change the password from an ftp user account on a ssh server?
Please give me simple instructions for a users who hasn't a lot of experience.
:D
Just the words in form of a list thanks a lot. (1 Reply)
Discussion started by: m.seidenberg
1 Replies
2. UNIX for Dummies Questions & Answers
I have access to 15+ UNIX boxes at work, and I do not consistently log onto all of them over time. When I do try to access one I havent been on in awhile, my account is locked as the password has expired.
I need to request to the UNIX SA's that the password expiration is 90 days and that if it... (1 Reply)
Discussion started by: stringzz
1 Replies
3. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
4. Post Here to Contact Site Administrators and Moderators
Hello, how can I change the e-mail that is associated with this forum, Unix.com account? Currently I have work e-mail that is associated with my account and I would like to change it to my personal e-mail.
Thanks.
Pramodini (1 Reply)
Discussion started by: Pramodini Rode
1 Replies
5. Shell Programming and Scripting
Suppose i have 3 different servers say x,y and z.
Im running some process say ABC and 40 instances for the same is being created.
In load sharing suppose on
server x, 20 instances are running
server y, 10 instances are running
server z, 10 instances are running.
While checking the... (1 Reply)
Discussion started by: ankitknit
1 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi there,
I may have had a typo in my email previously provided. I have doublechecked my email for Scott's reply but havent seen it, so I am creating a new post.
My new email can be either one of these: <removed> or <removed>
I beleive my old email was <removed by admin>
thanks for your... (1 Reply)
Discussion started by: AKelam_MagnusA
1 Replies
7. BSD
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies
8. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
9. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
10. Shell Programming and Scripting
Team,
I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list.
How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
LEARN ABOUT NETBSD
fortune
FORTUNE(6) BSD Games Manual FORTUNE(6)
NAME
fortune -- print a random, hopefully interesting, adage
SYNOPSIS
fortune [-aefilosw] [-m pattern] [[N%] file/dir/all]
DESCRIPTION
When fortune is run with no arguments it prints out a random epigram. Epigrams are divided into several categories, where each category is
subdivided into those which are potentially offensive and those which are not. The options are as follows:
-a Choose from all lists of maxims, both offensive and not. (See the -o option for more information on offensive fortunes.)
-e Consider all fortune files to be of equal size (see discussion below on multiple files).
-f Print out the list of files which would be searched, but don't print a fortune.
-i Ignore case for -m patterns.
-l Long dictums only.
-m pattern
Print out all fortunes which match the regular expression pattern. See regex(3) for a description of patterns.
-o Choose only from potentially offensive aphorisms. Please, please, please request a potentially offensive fortune if and only if you
believe, deep down in your heart, that you are willing to be offended. (And that if you are, you'll just quit using -o rather than
give us grief about it, okay?)
... let us keep in mind the basic governing philosophy of The Brotherhood, as handsomely summarized in these words: we believe in
healthy, hearty laughter -- at the expense of the whole human race, if needs be. Needs be.
--H. Allen Smith, "Rude Jokes"
-s Short apothegms only.
-w Wait before termination for an amount of time calculated from the number of characters in the message. This is useful if it is exe-
cuted as part of the logout procedure to guarantee that the message can be read before the screen is cleared.
The user may specify alternative sayings. You can specify a specific file, a directory which contains one or more files, or the special word
all, which says to use all the standard databases. Any of these may be preceded by a percentage, which is a number N between 0 and 100
inclusive, followed by a '%' character. If it is, there will be an N percent probability that an adage will be picked from that file or
directory. If the percentages do not sum to 100, and there are specifications without percentages, the remaining percent will apply to those
files and/or directories, in which case the probability of selecting from one of them will be based on their relative sizes.
As an example, given two databases funny and not-funny, with funny twice as big, saying
$ fortune funny not-funny
will get you fortunes out of funny two-thirds of the time. The command
$ fortune 90% funny 10% not-funny
will pick out 90% of its fortunes from funny (the ``10%'' is unnecessary, since 10% is all that's left). The -e option says to consider all
files equal; thus
$ fortune -e
is equivalent to
$ fortune 50% funny 50% not-funny
Datafiles for fortune are created by the strfile(8) utility, which is not installed by default, The source code for this utility can be found
in /usr/src/games/fortune/strfile, if it exists.
FILES
/usr/share/games/fortune/* Fortune files.
SEE ALSO
regex(3), random(6), rot13(6)
BSD
September 9, 2004 BSD