09-16-2008
Cheers
Great, thanks everyone.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
On Solaris 8..
28166 user 3693M 2736M sleep 5 0 0:05.38 0.0% PROCESS/4
How can I tell if this process is doing anything or just hanging? (2 Replies)
Discussion started by: dangral
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
This weekend i left a perl script running , I was running it in a remote machine. The machine seems to have been rebooted during the weekend. When i got back on monday the entire directory containing the script was wiped out. The process had been aborted. Nobody has access to the directory... (2 Replies)
Discussion started by: aboxilica
2 Replies
3. Shell Programming and Scripting
Hello,
I have the following shell script and when i execute, it keeps hanging and nothing happens
Please let me know.
Requirement is to read data from file and pass it to the sql and create files as shown.
code
/********
#!/bin/sh
while read user.dat
do
echo "user = $1 email =... (1 Reply)
Discussion started by: rakeshsr12
1 Replies
4. Shell Programming and Scripting
hi everyone,
I have a question about the java object oriented function which to simulate in bash script...
here is the function
"session.getMaxInactiveInterval() / 60 "
got any web can read this function? coz i need to simulate to bash script...
Hope someone give me a suggestion... (0 Replies)
Discussion started by: ryanW
0 Replies
5. UNIX for Dummies Questions & Answers
Hi! I have written a program three threads will be created to execute three different Sybase SQLs. so three thread will call a method runQuery.
In run query again we create child process to execute the actuall SQL by connecting to the SQL. When I run the process first three threading working fine.... (0 Replies)
Discussion started by: jramesh1
0 Replies
6. Shell Programming and Scripting
hi guys
I was requested to create a script to simulate a linux shell so when the user opens linux he will get my linux menu with some options and one of those is a simulated linux shell
this is my code
#!/bin/ksh
while
do
read whichcmd?"Enter Command: "
$whichcmd
... (5 Replies)
Discussion started by: kopper
5 Replies
7. Programming
Writing a Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX
I have over the years come across the same issue a couple of times, and it normally is that the read speed on SAN is absolutely atrocious when doing non-sequential I/O to the disks. Problem being of... (7 Replies)
Discussion started by: vrghost
7 Replies
8. Solaris
Hello,
We had a problem on a Solaris system (SunOS 5.10) that hit LWP limit and caused fork 11 error. Now we need to come up with a script to simulate and reproduce that scenario. What would be a simple and valid way to generate lots of Light Weight Processes?
Thanks,
Jay (1 Reply)
Discussion started by: seafan
1 Replies
9. Shell Programming and Scripting
I am using Ubuntu 12.4
I am running the following script:
++++++++
#!/bin/bash
while ; do
xdotool mousemove 248 539 click 1 &
sleep 3
done
+++++++++
This moves the mouse on the specified position on the screen and clicks that pauses the script for 3 seconds and repeats the... (2 Replies)
Discussion started by: alfarnume
2 Replies
10. Shell Programming and Scripting
so i'm using the following script to attempt to simulate a user visiting a page but unfortunately, it doesn't look like this is working:
wget -nv -r "http://www.mywebsite.com"
does anyone have a better idea of how to do this? the goal here is to run a wget command from a linux host to a... (3 Replies)
Discussion started by: SkySmart
3 Replies
PHEAR(6) Games Manual PHEAR(6)
NAME
phear - enter the cavez of phear
SYNOPSIS
phear [-e <level filename>] | [level name]
OPTIONS
This program has several arguments:
-e Start editor instead of game on a specific level.
level name
Name of the level to play, f.ex 01
level filename
Filename of the level to edit. f.ex /usr/share/phear/data/levels/01
DESCRIPTION
This is a boulder dash type of game, for terminals. You walk around in a ASCII underground cave system, where you need to keep clear of
boulders falling down while you are digging through the dirt searching for diamonds.
To play you have to know these keys:
right - move right
left - move left
up - move up
down - move down
b - place bomb
t - detonate bombs
q - leave game
By picking up a diamond (*) you get 10 points, picking up money ($) gives you 100 points. You get one extra life for every 1000 points you
score.
Move around with the arrow keys or the 2-4-8-6 keys. Press 'k' to commit suicide if you should get stuck.
Got the bombs (%)? Great! Press 'b' to place them, and 't' to detonate them all at once. Note that the bombs you place will act just like
stones, affected by gravity, rolling, and so on..
Watch out for monsters (M) -- if they catch you, you will die. To fight back, drop stones on them or blow them up using your bombs.
Pressing 's' will enable/disable sound, 'w' will highlight your current position.
EDITOR
The editor has its own keys you need to know:
0-9 - Keys 0-9 places objects
s - Saves the map
l - Enables lock-mode (lets you draw continuously using the arrow-keys)
q - Quits the editor
AUTHOR
Cavez of Phear was written by Tom Rune Flo <tom@x86.no>.
This manual page was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>, with parts of it written by Tom Rune Flo <tom@x86.no>, for the
Debian project (and may be used by others).
November 30, 2011 PHEAR(6)