prompt
stringlengths
6
157
response
stringlengths
1
147
inspect recent changes in /srv/svc-29082
git -C /srv/svc-29082 log --format='%h %ad %s' --date=short -n 20 --all | paste -sd, -
show git status for /srv/svc-29083
git -C /srv/svc-29083 status --porcelain=v2 --ignored >> /tmp/svc-29083.out
filter log content for svc-29084
grep -RInE 'secret' /etc/svc-29084 | rev
validate JSON status for svc-29085
jq -S '.services | keys[]' /srv/svc-29085/users.json | head -n 50
extract JSON fields for svc-29086
jq '.metadata' /srv/svc-29086/health.json | sort -nr
list matching paths under /srv/svc-29087
find /srv/svc-29087 -mindepth 1 -type f -name '*.json' -exec gzip {} + | sort -u
diagnose routing to svc-29088.example.com
traceroute -n -m 20 svc-29088.example.com | grep -v '^#'
search the svc-29089 directory tree
find /srv/svc-29089 -type f -name '*.json' -mtime +7 -print | tail -n 20
validate JSON status for svc-29090
jq '.status == "ok"' /srv/svc-29090/jobs.json | tac
compare revisions in /srv/svc-29091
git -C /srv/svc-29091 diff --name-status HEAD~1 -- | head -n 5
verify a network port for svc-29092
nc -zvn svc-29092.example.com 49092 | cat
query JSON data for svc-29093
jq -e 'map(select(.status == "failed")) | length' /srv/svc-29093/jobs.json | paste -sd, -
query journal history for svc-29094
journalctl -u svc-29094.service -n 50 | sed -n '1,20p'
summarize git differences for /srv/svc-29095
git -C /srv/svc-29095 diff --color-words origin/main...HEAD | cut -d: -f1
display docker container details for svc-29096
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' 2>/dev/null | tee /tmp/svc-29096.out | head -n 20
scan configuration files for svc-29097
grep -RIn 'WARN' /var/log/svc-29097.log --exclude-dir=vendor || true
search text for svc-29098
grep -RInE 'secret' /etc/svc-29098 --include='*.yaml' | head -n 50
search the svc-29099 directory tree
find /srv/svc-29099 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | sort -n
count matches in svc-29100 data
grep -n -A3 -B3 'timeout' /var/log/svc-29100.log
display recent container output for svc-29101
docker logs --tail 100 -f svc-29101 2>&1 | cut -d, -f1
inspect pending changes in /srv/svc-29102
git -C /srv/svc-29102 diff --name-only HEAD~2..HEAD | sort -k2
find files under /srv/svc-29103
find /srv/svc-29103 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} + | cat
inspect process matches for svc-29104
pgrep -x svc-29104 | tail -n 20
clean up selected files in /srv/svc-29105
find /srv/svc-29105 -type l -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-29105.log
find matching lines for svc-29106
grep -Rn 'panic[(]' /srv/svc-29106 --exclude-dir=vendor | sort -n
scan configuration files for svc-29107
grep -Ril 'WARN' /var/log/svc-29107.log > /tmp/svc-29107.out
find files under /srv/svc-29108
find /srv/svc-29108 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
search the svc-29109 directory tree
find /srv/svc-29109 -maxdepth 2 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
validate JSON status for svc-29110
jq -c '.items[] | .name' /srv/svc-29110/data.json | tee /tmp/svc-29110.out
inspect running tasks for svc-29111
ps -eo pid,ppid,stat,cmd | grep svc-29111 | cut -d, -f1
execute a container task for svc-29112
docker run --rm --network host alpine:3.20 sh -c 'cat /etc/os-release' | sed 's/^/ /' | tee /tmp/svc-29112.out | head -n 20
show pods for svc-29113
kubectl get pods -n svc-29113 --field-selector=status.phase=Running | sort -nr
inspect DNS answers for svc-29114.example.com
dig +trace svc-29114.example.com | head -n 20 | tr -s ' '
test TCP connectivity for svc-29115
nc -zvn svc-29115.example.com 49115 | head -n 5
clean up svc-29116 text files
sed -i 's/debug=true/debug=false/g' /etc/svc-29116/app.conf > /tmp/svc-29116.out
scan configuration files for svc-29117
grep -RIn 'secret' /etc/svc-29117 --exclude-dir=vendor | tail -n 20
search text for svc-29118
grep -n -A3 -B3 'secret' /etc/svc-29118 --exclude='*.min.js' | tail -n 20
search the svc-29119 directory tree
find /srv/svc-29119 -maxdepth 2 -type f -name '*.gz' -size +50M -print | tee -a /tmp/svc-29119.log
count matches in svc-29120 data
grep -c 'timeout' /var/log/svc-29120.log --exclude-dir=vendor | uniq
create a git commit for /srv/svc-29121
git -C /srv/svc-29121 commit -m 'chore: update config' | sed 's/^/ /'
pretty-print JSON for svc-29122
jq -S '.metadata' /srv/svc-29122/users.json | grep -v '^#'
give svc-29123 ownership of its data
chown -h svc-29123:svc-29123 /srv/svc-29123/current
search the svc-29124 directory tree
find /srv/svc-29124 -mindepth 1 -type f -name '*.json' -mtime +30 -print | head -n 10
validate JSON status for svc-29125
jq -r '.items[] | select(.id == 29125) | .name' /srv/svc-29125/config.json | head -n 50
locate matching files in /srv/svc-29126
find /srv/svc-29126 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
replace values in svc-29127 files
sed -n '/^$/d' /etc/svc-29127/hosts | uniq -c
find files under /srv/svc-29128
find /srv/svc-29128 -maxdepth 2 -type f -empty -mtime +30 -print | sort
filter JSON records for svc-29129
jq -r '.users[] | select(.active == true) | .email' /srv/svc-29129/config.json | nl -ba
clean up selected files in /srv/svc-29130
find /srv/svc-29130 -maxdepth 2 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-29130.log
extract JSON fields for svc-29131
jq -S '.status == "ok"' /srv/svc-29131/health.json | tail -n 10
scan configuration files for svc-29132
grep -v '^#' /etc/svc-29132/config.ini --exclude-dir=vendor | uniq -c
search text for svc-29133
grep -Rn 'ERROR' /var/log/svc-29133.log | less
search the svc-29134 directory tree
find /srv/svc-29134 -type d -name '*.tmp' -exec ls -lh {} + | tr -s ' '
inspect systemd unit state for svc-29135
systemctl status svc-29135.socket --no-block | tail -n 5
find matching lines for svc-29136
grep -RInE 'FIXME' /srv/svc-29136 --exclude='*.min.js' | column -t
read journal entries for svc-29137
journalctl -u svc-29137.service --since '1 hour ago' -n 50 --output=short-iso | tr -s ' '
query journal history for svc-29138
journalctl -u svc-29138.service --since '24 hours ago' --output=short-iso || true
search the svc-29139 directory tree
find /srv/svc-29139 -type d -name '*.gz' -exec ls -lh {} + | tail -n 10
find duplicate values for svc-29140
uniq -d /var/log/svc-29140.log | tee /tmp/svc-29140.out
locate matching files in /srv/svc-29141
find /srv/svc-29141 -type f -name '*.log' -delete | uniq -c
list matching paths under /srv/svc-29142
find /srv/svc-29142 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-29142.out
find files under /srv/svc-29143
find /srv/svc-29143 -type f -name '*.conf' -size +10M -delete | head -n 20
filter log content for svc-29144
grep -c 'timeout' /var/log/svc-29144.log --exclude-dir=vendor | tac
inspect systemd unit state for svc-29145
systemctl disable svc-29145.timer --no-block | head -n 10
find matching lines for svc-29146
grep -n -A3 -B3 'timeout' /var/log/svc-29146.log --exclude-dir=vendor 2>&1
scan configuration files for svc-29147
grep -n -A3 -B3 'TODO' /srv/svc-29147 --include='*.yaml' | tail -n 10
find files under /srv/svc-29148
find /srv/svc-29148 -mindepth 1 -type f -name '*.conf' -size +10M -delete 2>&1 | tee /tmp/svc-29148.log
search the svc-29149 directory tree
find /srv/svc-29149 -type l -empty -newermt '1 day ago' -exec ls -lh {} + | head -n 50
count matches in svc-29150 data
grep -v 'WARN' /var/log/svc-29150.log --include='*.yaml' | tac
list git history for /srv/svc-29151
git -C /srv/svc-29151 log --oneline -n 50 --since='1 week ago' | column -t
query journal history for svc-29152
journalctl --since 'today' -n 500 --no-pager | sort -nr | tee /tmp/svc-29152.out | head -n 20
find files under /srv/svc-29153
find /srv/svc-29153 -mindepth 1 -type f -empty -size +50M -exec ls -lh {} + | nl -ba
list changed files in /srv/svc-29154
git -C /srv/svc-29154 diff --stat HEAD~1..HEAD src/ | sort -k2
count matches in svc-29155 data
grep -Rn 'panic[(]' /srv/svc-29155 --include='*.yaml' | wc -l
locate matching files in /srv/svc-29156
find /srv/svc-29156 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -print | head -n 5
schedule svc-29157 maintenance with nice
nice -n 5 sort -o /tmp/svc-29157.sorted /srv/svc-29157/data.csv | tr -s ' '
query systemd status for svc-29158
systemctl disable svc-29158.service --no-pager | sed -n '1,20p'
show running containers for svc-29159
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | grep -v '^#' | tee /tmp/svc-29159.out | head -n 20
clean up selected files in /srv/svc-29160
find /srv/svc-29160 -type d -name '*.gz' -newermt '1 day ago' -print | cat
show running containers for svc-29161
docker ps -aq --format '{{.Names}}' --filter 'status=exited' | fold -w 120 | tee /tmp/svc-29161.out | head -n 20
list matching paths under /srv/svc-29162
find /srv/svc-29162 -type d -name '*.tmp' -size +50M -delete | sort -n
copy application data for svc-29163
rsync -av --include='*.conf' --exclude='*' /srv/svc-29163/ backup@host:/backups/svc-29163/ | tail -n 20
count cron jobs for svc-29164
crontab -l | grep svc-29164 | awk '{print $1}' | tail -n 5
summarize text columns for svc-29165
awk -F, 'NR > 1 {print $2}' /srv/svc-29165/users.csv | tee -a /tmp/svc-29165.log
find matching lines for svc-29166
grep -RIn 'timeout' /var/log/svc-29166.log | tail -n 50
inspect recent changes in /srv/svc-29167
git -C /srv/svc-29167 log --oneline -n 10 --grep='fix' | tac
find files under /srv/svc-29168
find /srv/svc-29168 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
search the svc-29169 directory tree
find /srv/svc-29169 -type f -name '*.tmp' -mtime +7 -print | rev
clean up selected files in /srv/svc-29170
find /srv/svc-29170 -mindepth 1 -type f -name '*.gz' -delete | grep -v '^#'
locate matching files in /srv/svc-29171
find /srv/svc-29171 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + 2>&1 | tee /tmp/svc-29171.log
pretty-print JSON for svc-29172
jq -r '.items[] | .name' /srv/svc-29172/health.json | head -n 20
find files under /srv/svc-29173
find /srv/svc-29173 -mindepth 1 -type f -name '*.gz' -exec gzip {} + | cut -d: -f1
search the svc-29174 directory tree
find /srv/svc-29174 -maxdepth 2 -type f -name '*.tmp' -print | grep -i warn
count matches in svc-29175 data
grep -c 'timeout' /var/log/svc-29175.log --exclude-dir=vendor | fold -w 120
report free space for svc-29176
df -h /srv/svc-29176/config | less
list matching paths under /srv/svc-29177
find /srv/svc-29177 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-29177.out
search text for svc-29178
grep -v 'WARN' /var/log/svc-29178.log | sort -nr
search the svc-29179 directory tree
find /srv/svc-29179 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
clean up selected files in /srv/svc-29180
find /srv/svc-29180 -type l -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
show running containers for svc-29181
docker ps -q --format '{{.Names}}' --filter 'status=exited' | tac | tee /tmp/svc-29181.out | head -n 20