Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2025.1

# Override default locking for a specific command

You can override the ``db.peeking`` setting on a per-command basis by using the `-Zpeeking=` flag followed by your preferred value. For example, to disable peeking for p4 fstat:

    $ p4 -Ztrack -Zpeeking=1 fstat <a_file>

    ...
    — db.working
    — pages in+out+cached 3+0+2
    — locks read/write 1/0 rows get+pos+scan put+del 0+1+1 0+0
    ...

and compare the results with:

    $ p4 -Ztrack -Zpeeking=2 fstat <a_file>

    ...
    — db.working
    — pages in+out+cached 3+0+2
    — locks read/write 0/0 rows get+pos+scan put+del 0+1+1 0+0
    — peek count 1 wait+held total/max 0ms+0ms/0ms+0ms
    ...

Your search for returned results