Skip to content

Commit

Permalink
psnotify doesn't work on windows (yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
luan committed Nov 21, 2017
1 parent 107ac35 commit f150d34
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 30 deletions.
5 changes: 2 additions & 3 deletions examples/df.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// Copyright (c) 2012 VMware, Inc.

package main

import (
"fmt"
"github.com/cloudfoundry/gosigar"
"os"

"github.com/cloudfoundry/gosigar"
)

const output_format = "%-15s %4s %4s %5s %4s %-15s\n"
Expand Down
5 changes: 2 additions & 3 deletions examples/free.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// Copyright (c) 2012 VMware, Inc.

package main

import (
"fmt"
"github.com/cloudfoundry/gosigar"
"os"

"github.com/cloudfoundry/gosigar"
)

func format(val uint64) uint64 {
Expand Down
3 changes: 1 addition & 2 deletions examples/ps.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// Copyright (c) 2012 VMware, Inc.

package main

import (
"fmt"

"github.com/cloudfoundry/gosigar"
)

Expand Down
5 changes: 2 additions & 3 deletions examples/uptime.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// Copyright (c) 2012 VMware, Inc.

package main

import (
"fmt"
"github.com/cloudfoundry/gosigar"
"os"
"time"

"github.com/cloudfoundry/gosigar"
)

func main() {
Expand Down
2 changes: 0 additions & 2 deletions psnotify/psnotify.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

package psnotify

import (
Expand Down
2 changes: 0 additions & 2 deletions psnotify/psnotify_bsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

// +build darwin freebsd netbsd openbsd

// Go interface to BSD kqueue process events.
Expand Down
2 changes: 0 additions & 2 deletions psnotify/psnotify_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

// Go interface to the Linux netlink process connector.
// See Documentation/connector/connector.txt in the linux kernel source tree.
package psnotify
Expand Down
2 changes: 1 addition & 1 deletion psnotify/psnotify_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2012 VMware, Inc.
// +build darwin freebsd linux netbsd openbsd

package psnotify

Expand Down
2 changes: 0 additions & 2 deletions sigar_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

package sigar

/*
Expand Down
2 changes: 0 additions & 2 deletions sigar_format.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

package sigar

import (
Expand Down
2 changes: 0 additions & 2 deletions sigar_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

package sigar

import (
Expand Down
2 changes: 0 additions & 2 deletions sigar_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

// +build darwin freebsd linux netbsd openbsd

package sigar
Expand Down
2 changes: 0 additions & 2 deletions sigar_util.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

package sigar

import (
Expand Down
2 changes: 0 additions & 2 deletions sigar_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright (c) 2012 VMware, Inc.

package sigar

import (
Expand Down

0 comments on commit f150d34

Please sign in to comment.