diff --git a/Top.go b/Top.go index f182b97..e9a0e3f 100644 --- a/Top.go +++ b/Top.go @@ -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) } diff --git a/wtop-armv5-linux b/wtop-armv5-linux new file mode 100755 index 0000000..a9d73bc Binary files /dev/null and b/wtop-armv5-linux differ diff --git a/wtop-armv6-linux b/wtop-armv6-linux new file mode 100755 index 0000000..6808863 Binary files /dev/null and b/wtop-armv6-linux differ diff --git a/WebTop b/wtop-x64-linux similarity index 77% rename from WebTop rename to wtop-x64-linux index 6467ff9..1914ff6 100755 Binary files a/WebTop and b/wtop-x64-linux differ