我有一个服务帐户在solaris服务器上执行以下命令
lsof -iTCP -n -P -F pcnfT -z$1但我收到以下错误消息作为响应
lsof: illegal option character: z
lsof 4.80 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abChlnNoOPRstUvV] [+|-c c] [+|-d s] [+|-D D] [+|-f[cfgGn]] [-F [f]] [-g [s]] [-i [i]] [-k k] [+|-L [l]] [-m m] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.什么可能会导致此问题?潜在的解决方案是什么?
发布于 2016-08-09 20:31:42
删除-z参数,如下;
lsof -iTCP -n -P -F pcnfT -z [z] specifies how Solaris 10 and higher zone information is to be
handled.
Without a following argument - e.g., NO z - the option speci-
fies that zone names are to be listed in the ZONE output col-
umn.https://stackoverflow.com/questions/38848548
复制相似问题