mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
nethogs, diskutil: fix device path (#17557)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
- Monitor bandwidth on multiple devices:
|
||||
|
||||
`sudo nethogs {{device1}} {{device2}}`
|
||||
`sudo nethogs {{device1 device2 ...}}`
|
||||
|
||||
- Specify refresh rate:
|
||||
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
- Repair the filesystem data structures of a volume:
|
||||
|
||||
`diskutil repairVolume {{/dev/disk_device}}`
|
||||
`diskutil repairVolume {{/dev/disk}}`
|
||||
|
||||
- Unmount a volume:
|
||||
|
||||
`diskutil unmountDisk {{/dev/disk_device}}`
|
||||
`diskutil unmountDisk {{/dev/disk}}`
|
||||
|
||||
- Eject a CD/DVD (unmount first):
|
||||
|
||||
`diskutil eject {{/dev/disk_device1}}`
|
||||
`diskutil eject {{/dev/diskX}}`
|
||||
|
||||
Reference in New Issue
Block a user