package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Dec 14, 2021
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package sysutil is common system utils for Go.
FQDN returns the FQDN of current
GetProcessByPid 根据PID获取进程的执行路径.
HomeDir returns home directory of current user.
IsBigEndian reports whether current os byte order is big endian.
IsLinux reports whether the current os is Linux.
IsWindows reports whether the current os is Windows.
Kill kills process by pid
Pwd returns the path of the current process.
TmpDir Alias for os.TempDir.
User returns the current user.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.