]>
sourceware.org Git - systemtap.git/blob - stap-start-server
3 # Start a systemtap server
5 # Copyright (C) 2008 Red Hat Inc.
7 # This file is part of systemtap, and is free software. You can
8 # redistribute it and/or modify it under the terms of the GNU General
9 # Public License (GPL); either version 2, or (at your option) any
12 # This script attempts to start a systemtap server and echoes the
13 # process id, if successful.
16 stap-serverd
</dev
/null
>/dev
/null
2>&1 &
19 # Exit if the server did not start ok
20 (ps |
grep -q $server_pid) ||
exit 1
22 # The server started ok. Echo its process id.
This page took 0.040247 seconds and 6 git commands to generate.