| Summary: | net-fs/nfs-utils-1.2.6 tools fail with >=python-3 as active interpreter | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stuart Shelton <srcshelton> |
| Component: | [OLD] Server | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of bug 458934 *** |
# eselect python list Available Python interpreters: [1] python2.7 [2] python3.2 * # nfsiostat File "/usr/sbin/nfsiostat", line 237 print 'app bytes: %f client bytes %f' % (app_bytes_read, client_bytes_read) ^ SyntaxError: invalid syntax # mountstats File "/usr/sbin/mountstats", line 182 print 'Stats for %s mounted on %s:' % \ ^ SyntaxError: invalid syntax # python2 `which mountstats` usage: mountstats [ options ] <mount point> Version 0.2 Display NFS client per-mount statistics. --version display the version of this command --nfs display only the NFS statistics --rpc display only the RPC statistics --start sample and save statistics --end resample statistics and compare them with saved # python2 `which nfsiostat` <xxxx>:/usr/portage mounted on /usr/portage: op/s rpc bklog 1.56 0.00 read: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) 0.408 1.426 3.491 0 (0.0%) 1.564 1.601 write: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) 0.025 12.277 485.973 0 (0.0%) 42.443 89.271