Dscacheutil
From GarrettHoneycutt
Contents |
Mac OS X usage
This is for 10.5, as lookupd has been deprecated. From a linux perspective, this is gives you the functionality of nscd and getent
Show any cache
$ dscacheutil -cachedump -entries [category]
Categories:
- group
- host
- mount
- protocol
- rpc
- service
- user
Show the host cache
$ dscacheutil -cachedump -entries host
Clear the host cache
$ dscacheutil -flushcacheDisplay a category's information
$ dscacheutil -q [category]
Lookup all users
$ dscacheutil -q user