07-26-2005
Reply
Hi there,
well i don't see any problem when we use the ping. you've probably done something elz. Well 2 stop any service use ctrl+z coz in unix ctrl+c will pause the service not stop it.
Regards,
Ned
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Am having trouble trying to stop the process below ...
bash# ps -eaf | grep "tape erase"
root 29715 1 0 05:16:22 ttyp1 00:00:00 tape erase /dev/rStp0
root 22464 20933 1 03:40:12 ttyp6 00:00:00 grep tape eraseI've tried ... `kill -9 29715` ... but still no luck.
Help... (8 Replies)
Discussion started by: Cameron
8 Replies
2. UNIX for Advanced & Expert Users
Hi ,
I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing .
Now i want to stop others users to know what i am doing accept the root ?
can i do this ?
thanks (5 Replies)
Discussion started by: mobile01
5 Replies
3. Programming
Hello all,
i've written a small piece of code that will read commands from standard input and executes the commands.
Its working fine and is execting the commands well. Accepting arguments too. e.g
#mkdir <name of the directory>
The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies
4. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
5. Solaris
I am using solaris x86 with a pc keyboard. i am trying to get to the ok prompt i have tried ctrl-break but it is not working , alt-break will not as well.
pls any thought? (4 Replies)
Discussion started by: seyiisq
4 Replies
6. Shell Programming and Scripting
Hi ,
I do have a shell which test the connectivity using ssh, soon after the login it should use the keys Ctrl + z or Ctrl + c to exit from login promt. So how do i need to implement these . (3 Replies)
Discussion started by: raghunsi
3 Replies
7. Linux
Hello, recently I worked about RAID (soft Raid), I use mdadm command. There are some questions, for example:
1, I make a RAID named /dev/md0.
mdadm -C -v /dev/md0 -l1 -n2 -x1 /dev/hda1 /dev/hdb1 /dev/hdc1
2, Then I stop it.
mdadm -S /dev/md0
3, Then I make another RAID also named /dev/md0,... (3 Replies)
Discussion started by: ZR_Lang
3 Replies
8. AIX
Hi all,
I'm new in this forum.
I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli".
The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory.
I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies
9. Red Hat
I have a user ( and actually me too) getting this messages when the screen is idle, I need help on stopping this messages:
2012 Feb 20 13:30:22 servername Audit: LENGTH: "330" SESSIONID: "339384" ENTRYID: "1" STATEMENT: "1" USERID: "OPS$PT2ADM" USERHOST: "zzzzzzzzzzz" ACTION: "100" RETURNCODE:... (2 Replies)
Discussion started by: 300zxmuro
2 Replies
LEARN ABOUT PHP
win32_set_service_status
WIN32_SET_SERVICE_STATUS(3) 1 WIN32_SET_SERVICE_STATUS(3)
win32_set_service_status - Update the service status
SYNOPSIS
bool win32_set_service_status (int $status, [int $checkpoint])
DESCRIPTION
Informs the SCM of the current status of a running service. This call is only valid for a running service process.
PARAMETERS
o $status
- The service status code, one of WIN32_SERVICE_RUNNING, WIN32_SERVICE_STOPPED, WIN32_SERVICE_STOP_PENDING, WIN32_SER-
VICE_START_PENDING, WIN32_SERVICE_CONTINUE_PENDING, WIN32_SERVICE_PAUSE_PENDING, WIN32_SERVICE_PAUSED.
o $checkpoint
- The checkpoint value the service increments periodically to report its progress during a lengthy start, stop, pause, or continue
operation. For example, the service should increment this value as it completes each step of its initialization when it is start-
ing up. The $checkpoint is only valid when the $status is one of WIN32_SERVICE_STOP_PENDING, WIN32_SERVICE_START_PENDING,
WIN32_SERVICE_CONTINUE_PENDING or WIN32_SERVICE_PAUSE_PENDING.
RETURN VALUES
Returns TRUE on success, FALSE if there is a problem with the parameters or a Win32 Error Code on failure.
SEE ALSO
win32_start_service_ctrl_dispatcher(3), Win32Service Service Status Constants.
PHP Documentation Group WIN32_SET_SERVICE_STATUS(3)