Skip to content

Commit a01e8b7

Browse files
committed
intra/tunnel: page size in stats
1 parent 2ec3afa commit a01e8b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

intra/tunnel.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,9 @@ func (t *rtunnel) stat() (*x.NetStat, error) {
532532
sm1, sm2 := core.RuntimeSecureMode()
533533
uid := fmt.Sprintf("uid=%d", syscall.Getuid())
534534
pid := fmt.Sprintf("pid=%d", syscall.Getpid())
535+
pgsz := fmt.Sprintf("pgsz=%d", os.Getpagesize())
535536
sec := fmt.Sprintf("sec=%t/%t", sm1, sm2)
536-
out.GOSt.Args = strings.Join(append(os.Args, uid, pid, sec), ";")
537+
out.GOSt.Args = strings.Join(append(os.Args, uid, pid, pgsz, sec), ";")
537538
out.GOSt.Env = strings.Join(core.RuntimeEnviron(), ";")
538539
out.GOSt.Pers, _ = os.Executable()
539540

0 commit comments

Comments
 (0)