File: pvmkill

package info (click to toggle)
slpvm 0.1.5-11
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,072 kB
  • ctags: 254
  • sloc: sh: 2,624; ansic: 1,012; makefile: 154
file content (13 lines) | stat: -rwxr-xr-x 229 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env slsh

require ("pvm_ms");

if (__argc != 3)
{
   () = fprintf (stderr, "Usage: %s MASTER-TID SLAVE-TID\n", __argv[0]);
   exit (1);
}

pvm_ms_kill (integer (__argv[1]), integer (__argv[2]));
pvm_exit ();
exit (0);