3.6.8. ps. Comtrol DeviceMaster Software Development Kit
โฆษณา
โฆษณา
Chapter 3. Using Cygwin automounted filesystems default to binary mode file accesses.
3.6.7.3. Limitations
Limitations: there is a hard-coded limit of 30 mount points. Also, although you can mount to pathnames that do not start with "/", there is no way to make use of such mount points.
Normally the POSIX mount point in Cygwin is an existing empty directory, as in standard UNIX. If this is the case, or if there is a place-holder for the mount point (such as a file, a symbolic link pointing anywhere, or a non-empty directory), you will get the expected behavior. Files present in a mount point directory before the mount become invisible to Cygwin programs.
It is sometimes desirable to mount to a non-existent directory, for example to avoid cluttering the root directory with names such as a , b , c pointing to disks. Although
mount will give you a warning, most everything will work properly when you refer to the mount point explicitly. Some strange effects can occur however. For example if your current working directory is /dir , say, and /dir/mtpt is a mount point, then mtpt will not show up in an ls or echo * command and find . will not find mtpt .
3.6.8. ps
Usage ps [-aefl] [-u uid]
-f show process uids, ppids
-l show process uids, ppids, pgids, winpids
-u uid list processes owned by uid
-a, -e show processes of all users
The ps program gives the status of all the Cygwin processes running on the system (ps
= "process status"). Due to the limitations of simulating a POSIX environment under
Windows, there is little information to give. The PID column is the process ID you
59
ดาวน์โหลด
โฆษณา