Megatest

Check-in [2d5edb0a67]
Login
Overview
Comment:Added simple script for observing close_wait
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.64
Files: files | file ages | folders
SHA1: 2d5edb0a67d33b73f4fa8d4338605879663c4def
User & Date: mrwellan on 2017-07-17 08:50:27
Other Links: branch diff | manifest | tags
Context
2017-07-17
10:42
Fixed watch close wait script check-in: 1d4c2ff5ec user: mrwellan tags: v1.64
08:50
Added simple script for observing close_wait check-in: 2d5edb0a67 user: mrwellan tags: v1.64
2017-07-14
17:29
removed server-start from run check-in: c0c5c1cbc3 user: bjbarcla tags: v1.64
Changes

cgisetup/cgi-bin/models became a regular file with contents [39c07627cc].

cgisetup/cgi-bin/pages became a regular file with contents [e2b5ed002d].

Added utils/watch-close-wait.sh version [41ceea4376].









1
2
3
4
5
6
7
8
+
+
+
+
+
+
+
+
psline=$(ps -F -u $USER | grep "mtest" |grep " -run " | egrep " -(target|reqtarg) "| head -1)
id=$(echo $psline|awk '{print $2}')
echo "Watching process for command line: $psline"
echo "  with PID=$id"
while true;do
  echo "$(lsof -n | grep CLOSE_WAIT | grep $id |grep CLOSE_WAIT | wc -l)"
  sleep 1
done