Skip to content

Commit

Permalink
[process] fix Document of CreatTime seconds -> milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
shirou committed Jul 26, 2017
1 parent 1da5000 commit 5329f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/process_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (p *Process) CmdlineSlice() ([]string, error) {
return p.fillSliceFromCmdline()
}

// CreateTime returns created time of the process in seconds since the epoch, in UTC.
// CreateTime returns created time of the process in milliseconds since the epoch, in UTC.
func (p *Process) CreateTime() (int64, error) {
_, _, _, createTime, _, err := p.fillFromStat()
if err != nil {
Expand Down

0 comments on commit 5329f8b

Please sign in to comment.