Changeset 33977 in vbox for trunk/src/VBox/GuestHost/OpenGL/util
- Timestamp:
- Nov 11, 2010 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/process.c
r30598 r33977 148 148 /* pipe output of ps to temp file */ 149 149 #ifndef SunOS 150 # ifdef VBOX 151 snprintf(command, sizeof(command), "ps > %s", tmp); 152 # else 150 153 sprintf(command, "ps > %s", tmp); 151 #else 154 # endif 155 #else 156 # ifdef VBOX 157 snprintf(command, sizeof(command), "ps -e -o 'pid tty time comm'> %s", tmp); 158 # else 152 159 sprintf(command, "ps -e -o 'pid tty time comm'> %s", tmp); 160 # endif 153 161 #endif 154 162 system(command);
Note:
See TracChangeset
for help on using the changeset viewer.