![]() |
![]() |
![]() |
![]() |
Position a system clock
pwmclock [-S i|n] [-s server] [-x x_pos] [-y y_pos]
This utility lets you display and set the system time. To set the time, double-click on the clock on the Taskbar.
The RTC option sets the clock chip by invoking the rtc utility. For more information see the QNX Utilities Reference.
![]() |
The pwmclock utility runs as setuid root. If you don't want users to be able to set the time,
you can remove the pwmclock utility from /usr/photon/bin, or change the permission e.g. chmod -s pwmclock. |
Run a clock using Photon server on node 4:
pwmclock -s4
Or
pwmclock -s//4/dev/photon
Run a clock at initial position (10,10) with an initial dimension of 200*300:
pwmclock -x10 -y10 -h200 -w300
![]() |
![]() |
![]() |
![]() |