Skip to content

Commit

Permalink
add binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Loafter committed Jan 11, 2015
1 parent a74766c commit dd814d7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Top.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,13 @@ func (top *Top) GetProcessList() ([]ProcessItem, error) {
func (top *Top) KillProcess(pid int) error {
process, err := os.FindProcess(pid)
if err != nil {
stErr := "info: can't find process pid=" + string(pid)
stErr := "info: can't find process with pid " + strconv.Itoa(pid)
log.Println(stErr)
return errors.New(stErr)
}
err = process.Kill()
if err != nil {
stErr := "info: can't kill process pid=" + string(pid)
stErr := "info: can't kill process with pid " + strconv.Itoa(pid)
log.Println(stErr)
return errors.New(stErr)
}
Expand Down
Binary file added wtop-armv5-linux
Binary file not shown.
Binary file added wtop-armv6-linux
Binary file not shown.
Binary file renamed WebTop → wtop-x64-linux
Binary file not shown.

0 comments on commit dd814d7

Please sign in to comment.