prompt
stringlengths
6
157
response
stringlengths
1
147
save a commit message for /srv/svc-03082
git -C /srv/svc-03082 commit -am 'refactor: simplify parser' --no-verify > /tmp/svc-03082.out
show running containers for svc-03083
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | grep -v '^#' | tee /tmp/svc-03083.out | head -n 20
diagnose routing to svc-03084.example.com
traceroute -T -p 23084 svc-03084.example.com | grep -v '^#'
clean up selected files in /srv/svc-03085
find /srv/svc-03085 -mindepth 1 -type f -name '*.json' -delete | grep -v '^#'
extract JSON fields for svc-03086
jq -e '.users[] | select(.active == true) | .email' /srv/svc-03086/data.json | column -t
inspect running tasks for svc-03087
ps -u svc-03087 -o pid,comm,%cpu --sort=-%cpu | paste -sd, -
clean up svc-03088 text files
sed '/start/,/end/p' /etc/svc-03088/config.yml
show running containers for svc-03089
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=exited' | grep -E '^[^#]' | tee /tmp/svc-03089.out | head -n 20
validate JSON status for svc-03090
jq --indent 2 '.items[] | .name' /srv/svc-03090/jobs.json | sed 's/^/ /'
locate matching files in /srv/svc-03091
find /srv/svc-03091 -type d -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
query journal history for svc-03092
journalctl --since 'today' -n 500 | sort -nr | tee /tmp/svc-03092.out | head -n 20
find files under /srv/svc-03093
find /srv/svc-03093 -type l -name '*.gz' -size +10M -exec gzip {} + | uniq -c
search the svc-03094 directory tree
find /srv/svc-03094 -type d -name '*.tmp' -size +50M -exec ls -lh {} + | sort -n
summarize text columns for svc-03095
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-03095/data.csv >> /tmp/svc-03095.out
extract JSON fields for svc-03096
jq -r '.items[] | select(.id == 3096) | .name' /srv/svc-03096/data.json 2>&1
pretty-print JSON for svc-03097
jq -r 'map(select(.status == "failed")) | length' /srv/svc-03097/config.json | sort -n
show git status for /srv/svc-03098
git -C /srv/svc-03098 status --short --ignored 2>/dev/null
measure the size of svc-03099 data
wc -m /srv/svc-03099/data.txt | grep -E '^[^#]'
count matches in svc-03100 data
grep -v 'panic[(]' /srv/svc-03100 --include='*.yaml' | uniq
locate matching files in /srv/svc-03101
find /srv/svc-03101 -type d -name '*.tmp' -size +10M -exec gzip {} + >> /tmp/svc-03101.out
inspect pending changes in /srv/svc-03102
git -C /srv/svc-03102 diff --color-words HEAD~1 -- | sort -u
search text for svc-03103
grep -Ril 'TODO' /srv/svc-03103 | paste -sd, -
query systemd status for svc-03104
systemctl stop svc-03104.service --no-pager > /tmp/svc-03104.out
count matches in svc-03105 data
grep -v 'ERROR' /var/log/svc-03105.log --include='*.yaml' | sort
display the working tree state in /srv/svc-03106
git -C /srv/svc-03106 status --short --ignored --untracked-files=all 2>&1 | tee /tmp/svc-03106.log
pretty-print JSON for svc-03107
jq -c '.services | keys[]' /srv/svc-03107/config.json | sort -u
find files under /srv/svc-03108
find /srv/svc-03108 -type l -empty -exec gzip {} + | sort -k2
search the svc-03109 directory tree
find /srv/svc-03109 -type l -name '*.log' -exec gzip {} + | awk '{print $1}'
validate JSON status for svc-03110
jq -r '.services | keys[]' /srv/svc-03110/config.json | grep -E '^[^#]'
extract JSON fields for svc-03111
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-03111/config.json | grep -E '^[^#]'
execute a container task for svc-03112
docker run --rm -d -v /srv/svc-03112:/data alpine:3.20 du -sh /data | awk '{print $1}'
find files under /srv/svc-03113
find /srv/svc-03113 -type f -empty -size +50M -delete | grep -i error
search the svc-03114 directory tree
find /srv/svc-03114 -type f -name '*.tmp' -newermt '1 day ago' -print | sort -nr
summarize git differences for /srv/svc-03115
git -C /srv/svc-03115 diff --stat --cached | less
process log fields for svc-03116
awk -F'\t' '/ERROR/ {count++} END {print count+0}' /var/log/svc-03116.log | cut -d, -f1
list matching paths under /srv/svc-03117
find /srv/svc-03117 -type d -name '*.tmp' -mtime +30 -delete | uniq
post a test request for svc-03118
curl -fsS --max-time 5 http://127.0.0.1:23118/svc-03118/health | sed 's/^/ /'
search the svc-03119 directory tree
find /srv/svc-03119 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10
query systemd status for svc-03120
systemctl restart svc-03120.timer --no-block | awk '{print $2}'
replace values in svc-03121 files
sed -i 's/[[:space:]]\+$//' /etc/svc-03121/config.yml >> /tmp/svc-03121.out
list matching paths under /srv/svc-03122
find /srv/svc-03122 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} +
find files under /srv/svc-03123
find /srv/svc-03123 -type d -name '*.gz' -mtime +7 -exec gzip {} + | cut -d: -f1
filter log content for svc-03124
grep -RIn 'timeout' /var/log/svc-03124.log --include='*.yaml'
list repository status details in /srv/svc-03125
git -C /srv/svc-03125 status --short --branch --untracked-files=all
locate matching files in /srv/svc-03126
find /srv/svc-03126 -type d -empty -size +10M -exec gzip {} + | tail -n 10
list matching paths under /srv/svc-03127
find /srv/svc-03127 -type f -name '*.json' -size +10M -print >> /tmp/svc-03127.out
find files under /srv/svc-03128
find /srv/svc-03128 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
list changed files in /srv/svc-03129
git -C /srv/svc-03129 diff --check --cached | less
count matches in svc-03130 data
grep -RInE 'panic[(]' /srv/svc-03130 --include='*.go' | tail -n 10
show running containers for svc-03131
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | awk '{print $2}' | tee /tmp/svc-03131.out | head -n 20
display docker container details for svc-03132
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-03132' | sed -n '1,20p'
read journal entries for svc-03133
journalctl -u svc-03133.service --until '1 hour ago' -n 500 || true
filter JSON records for svc-03134
jq -S 'map(select(.status == "failed")) | length' /srv/svc-03134/data.json | sort -n
clean up selected files in /srv/svc-03135
find /srv/svc-03135 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | head -n 10
install svc-03136 from source
make -C /srv/svc-03136 -B build | sed -n '1,20p'
query DNS records for svc-03137.example.com
dig +trace svc-03137.example.com | head -n 20 | sed -n '1,20p'
find files under /srv/svc-03138
find /srv/svc-03138 -type l -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-03138.log
search the svc-03139 directory tree
find /srv/svc-03139 -mindepth 1 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | tac
clean up selected files in /srv/svc-03140
find /srv/svc-03140 -type f -name '*.json' -mtime +30 -exec gzip {} + | grep -i warn
find matching lines for svc-03141
grep -RInE 'panic[(]' /srv/svc-03141 | tail -n 50
inspect recent changes in /srv/svc-03142
git -C /srv/svc-03142 log --stat -n 50 --since='1 week ago' | rev
search text for svc-03143
grep -v 'panic[(]' /srv/svc-03143 --exclude-dir=vendor | grep -E '^[^#]'
list changed files in /srv/svc-03144
git -C /srv/svc-03144 diff --name-only HEAD~1..HEAD -- | grep -v '^#'
clean up selected files in /srv/svc-03145
find /srv/svc-03145 -type l -name '*.log' -newermt '1 day ago' -exec gzip {} + | sort -n
locate matching files in /srv/svc-03146
find /srv/svc-03146 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | tee /tmp/svc-03146.out
scan configuration files for svc-03147
grep -n -A3 -B3 'TODO' /srv/svc-03147 | uniq
search text for svc-03148
grep -n -A3 -B3 'secret' /etc/svc-03148 --include='*.py' | tee /tmp/svc-03148.out
filter log content for svc-03149
grep -v 'timeout' /var/log/svc-03149.log --include='*.go' | tail -n 10
process log fields for svc-03150
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-03150/access.log | sort | uniq -c | grep -i error
read journal entries for svc-03151
journalctl --since '1 hour ago' -u svc-03151.service -n 100 --no-pager
list matching paths under /srv/svc-03152
find /srv/svc-03152 -type f -name '*.log' -newermt '1 day ago' -print | tail -n 5
inspect systemd unit state for svc-03153
systemctl status svc-03153.service --no-block | fold -w 120
install svc-03154 from source
make -C /srv/svc-03154 -j4 build > /tmp/svc-03154.out
summarize git differences for /srv/svc-03155
git -C /srv/svc-03155 diff --name-only HEAD~2..HEAD | tac
locate matching files in /srv/svc-03156
find /srv/svc-03156 -maxdepth 2 -type f -name '*.conf' -size +10M -exec ls -lh {} + | cat
list matching paths under /srv/svc-03157
find /srv/svc-03157 -mindepth 1 -type f -empty -mtime +7 -print | head -n 5
find files under /srv/svc-03158
find /srv/svc-03158 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
display the commit log for /srv/svc-03159
git -C /srv/svc-03159 log --format='%h %ad %s' --date=short -n 50 --all | wc -l
read container logs for svc-03160
kubectl logs deployment/svc-03160 --since=1h | head -n 20
find matching lines for svc-03161
grep -v 'FIXME' /srv/svc-03161 --exclude-dir=vendor | grep -i warn
list matching paths under /srv/svc-03162
find /srv/svc-03162 -type f -name '*.log' -delete | paste -sd, -
find files under /srv/svc-03163
find /srv/svc-03163 -type d -name '*.tmp' -mtime +30 -delete | sed -n '1,20p'
assign svc-03164 files to the service user
chown svc-03164:svc-03164 /var/log/svc-03164.log | grep -i warn
clean up selected files in /srv/svc-03165
find /srv/svc-03165 -maxdepth 2 -type f -name '*.gz' -mtime +7 -print | awk '{print $2}'
locate matching files in /srv/svc-03166
find /srv/svc-03166 -type d -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 || true
list matching paths under /srv/svc-03167
find /srv/svc-03167 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
find files under /srv/svc-03168
find /srv/svc-03168 -maxdepth 2 -type f -empty -size +50M -exec ls -lh {} + | uniq
filter log content for svc-03169
grep -c 'WARN' /var/log/svc-03169.log --include='*.go' | tee /tmp/svc-03169.out
clean up selected files in /srv/svc-03170
find /srv/svc-03170 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
locate matching files in /srv/svc-03171
find /srv/svc-03171 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | grep -E '^[^#]'
pretty-print JSON for svc-03172
jq 'map(select(.status == "failed")) | length' /srv/svc-03172/jobs.json | cut -d, -f1
find files under /srv/svc-03173
find /srv/svc-03173 -type d -name '*.gz' -size +10M -delete | sed -n '1,20p'
search the svc-03174 directory tree
find /srv/svc-03174 -type d -name '*.conf' -mtime +30 -delete | tac
print a git log summary for /srv/svc-03175
git -C /srv/svc-03175 log --format='%h %ad %s' --date=short -n 100 | tail -n 5
extract JSON fields for svc-03176
jq -e '.status == "ok"' /srv/svc-03176/jobs.json | tee /tmp/svc-03176.out
pretty-print JSON for svc-03177
jq '.status == "ok"' /srv/svc-03177/data.json | uniq -c
report free space for svc-03178
df -h /srv/svc-03178/data | cut -d: -f1
search the svc-03179 directory tree
find /srv/svc-03179 -type d -name '*.gz' -size +10M -delete | sort -k2
diagnose routing to svc-03180.example.com
traceroute -n -4 svc-03180.example.com | tail -n 10
locate matching files in /srv/svc-03181
find /srv/svc-03181 -type f -name '*.tmp' -mtime +7 -print 2>/dev/null