well, i have only been learning about linux, unix and shells for a few days.
For my online game to work, i need run a file each 10 seconds. Running that file will update mysql data, causing my online game to "tick". This adds resources and fights battles in game.
I know that i need to use a bakground process, a wget commad.
that code runs the process in the ofreground. i want to exit Putty, logiut, and keep that process running for ever.
I run an online game, and every 10 seconds or so i need to "run" a file. In other words in needs to be executed. Its a PHP file.
The file updates vital things in my game, each time it does it its know as a "tick".
Here is the code i am using.
(wget... (2 Replies)
Hello!
I just programmed a very simple app, it's function is to report every minute the state of the memory and cpu and put it to and xml.
All this stuff is working ok since I'm logged in into the machine, but i want it to run as a service, how can I do that??
P.S: Any one knows how can I... (1 Reply)
Hey All,
I'm logging in via an SSH shell. I'm wondering if there's a way to execute a command and it not die when I close my terminal window (or rather, logout of the SSH shell).
Thanks,
Nathan (3 Replies)
Hi,
We have UNIX menu.
when we exit the menu the processes are not getting log out.
please suggest me how to log out the process after exit from the UNIX Menu.
Regards,
laknar. (3 Replies)
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)
Hi,
I have a situation where I am writing a programme that runs a series of long running PHP scripts that can take anything from 20 minutes to 10 hours to execute.
I have a solution half implemented where I use via php exec(wget <location to command>) and get the process id back.
This... (1 Reply)
Hello everyone.
I am logged into a computer through ssh. I would like to run a program and have it keep running after I log out without screen (i forgot to run it).
For example:
ssh server
user/comp~$ top &
12021
exit
after that:
ssh server
user/comp~$ (something, maybe shell... (5 Replies)
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)
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)
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 SUSE
dm.conf
DM.CONF(5) BSD File Formats Manual DM.CONF(5)NAME
dm.conf -- dungeon master configuration file
DESCRIPTION
The dm.conf file is the configuration file for the dm(8) program. It consists of lines beginning with one of three keywords, badtty, game,
and time. All other lines are ignored.
Any tty listed after the keyword badtty may not have games played on it. Entries consist of two white-space separated fields: the string
badtty and the ttyname as returned by ttyname(3). For example, to keep the uucp dialout, ``tty19'', from being used for games, the entry
would be:
badtty /dev/tty19
Any day/hour combination listed after the keyword time will disallow games during those hours. Entries consist of four white-space separated
fields: the string time, the unabbreviated day of the week and the beginning and ending time of a period of the day when games may not be
played. The time fields are in a 0 based, 24-hour clock. For example, the following entry allows games playing before 8AM and after 5PM on
Mondays:
time Monday 8 17
Any game listed after the keyword game will set parameters for a specific game. Entries consist of five white-space separated fields: the
keyword game, the name of a game, the highest system load average at which the game may be played, the maximum users allowed if the game is
to be played, and the priority at which the game is to be run. Any of these fields may start with a non-numeric character, resulting in no
game limitation or priority based on that field.
The game default controls the settings for any game not otherwise listed, and must be the last game entry in the file. Priorities may not be
negative. For example, the following entries limits the game ``hack'' to running only when the system has 10 or less users and a load aver-
age of 5 or less; all other games may be run any time the system has 15 or less users.
game hack 5 10 *
game default * 15 *
FILES
/etc/dm.conf The dm(8) configuration file.
SEE ALSO setpriority(2), ttyname(3), dm(8)BSD May 31, 1993 BSD