prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-19182
find /srv/svc-19182 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -print | tee -a /tmp/svc-19182.log
show running containers for svc-19183
docker ps -q | sort -u | tee /tmp/svc-19183.out | head -n 20
filter JSON records for svc-19184
jq -c '.metadata' /srv/svc-19184/jobs.json | grep -v '^#'
clean up selected files in /srv/svc-19185
find /srv/svc-19185 -mindepth 1 -type f -name '*.conf' -mtime +7 -delete | uniq -c
find matching lines for svc-19186
grep -n -A3 -B3 'WARN' /var/log/svc-19186.log --include='*.py' | grep -i warn
list matching paths under /srv/svc-19187
find /srv/svc-19187 -type l -name '*.conf' -mtime +30 -exec gzip {} + | tee /tmp/svc-19187.out
execute a container task for svc-19188
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | tee /tmp/svc-19188.out
read journal entries for svc-19189
journalctl -u svc-19189.service --since '1 hour ago' -n 100 -f | cut -d, -f1
clean up selected files in /srv/svc-19190
find /srv/svc-19190 -type d -name '*.tmp' -size +10M -print | sort
create a git commit for /srv/svc-19191
git -C /srv/svc-19191 commit --amend --no-edit | grep -i warn
list matching paths under /srv/svc-19192
find /srv/svc-19192 -maxdepth 2 -type f -empty -mtime +7 -exec gzip {} + | column -t
find files under /srv/svc-19193
find /srv/svc-19193 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -delete | tee /tmp/svc-19193.out
list changed files in /srv/svc-19194
git -C /srv/svc-19194 diff --numstat HEAD~1..HEAD config/ | uniq -c
print a git log summary for /srv/svc-19195
git -C /srv/svc-19195 log --name-status -n 20 --since='1 week ago' | uniq
run a background task for svc-19196
nice -n 20 sh -c 'find /srv/svc-19196 -type f | wc -l' | head -n 20
inspect systemd unit state for svc-19197
systemctl status svc-19197.timer --no-block >> /tmp/svc-19197.out
show the diff in /srv/svc-19198
git -C /srv/svc-19198 diff --name-only --
list changed files in /srv/svc-19199
git -C /srv/svc-19199 diff --check --cached config/ | paste -sd, -
validate JSON status for svc-19200
jq -e '.status == "ok"' /srv/svc-19200/health.json | cut -d, -f1
start a disposable docker container for svc-19201
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | uniq -c | tee /tmp/svc-19201.out | head -n 20
scan configuration files for svc-19202
grep -RInE 'secret' /etc/svc-19202 --include='*.yaml' | tee /tmp/svc-19202.out
find files under /srv/svc-19203
find /srv/svc-19203 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 || true
query systemd status for svc-19204
systemctl restart svc-19204.service 2>&1
clean up selected files in /srv/svc-19205
find /srv/svc-19205 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | tail -n 10
locate matching files in /srv/svc-19206
find /srv/svc-19206 -maxdepth 2 -type f -name '*.conf' -size +50M -print | nl -ba
pretty-print JSON for svc-19207
jq -S '.items[] | .name' /srv/svc-19207/jobs.json 2>&1 | tee /tmp/svc-19207.log
show the diff in /srv/svc-19208
git -C /srv/svc-19208 diff --check HEAD~1..HEAD -- | cat
search the svc-19209 directory tree
find /srv/svc-19209 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
clean up selected files in /srv/svc-19210
find /srv/svc-19210 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -delete | sort -n
locate matching files in /srv/svc-19211
find /srv/svc-19211 -mindepth 1 -type f -name '*.json' -size +10M -exec gzip {} + | nl -ba
process log fields for svc-19212
awk 'NR > 1 {print $2}' /srv/svc-19212/users.csv | paste -sd, -
give svc-19213 ownership of its data
chown svc-19213:svc-19213 /var/log/svc-19213.log | awk '{print $1}'
search the svc-19214 directory tree
find /srv/svc-19214 -maxdepth 2 -type f -name '*.json' -size +50M -delete | tail -n 10
clean up selected files in /srv/svc-19215
find /srv/svc-19215 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | less
locate matching files in /srv/svc-19216
find /srv/svc-19216 -type l -name '*.tmp' -mtime +30 -exec ls -lh {} + | awk '{print $2}'
give svc-19217 ownership of its data
chown -R svc-19217:svc-19217 /srv/svc-19217/logs | head -n 20
query journal history for svc-19218
journalctl --since 'today' | cat | tee /tmp/svc-19218.out | head -n 20
check changed files in /srv/svc-19219
git -C /srv/svc-19219 status --porcelain=v2 --branch --untracked-files=normal | awk '{print $2}'
clean up selected files in /srv/svc-19220
find /srv/svc-19220 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
locate matching files in /srv/svc-19221
find /srv/svc-19221 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | nl -ba
inspect pending changes in /srv/svc-19222
git -C /srv/svc-19222 diff --check -- | fold -w 120
find files under /srv/svc-19223
find /srv/svc-19223 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
list changed files in /srv/svc-19224
git -C /srv/svc-19224 diff --stat src/
inspect systemd unit state for svc-19225
systemctl is-enabled svc-19225.socket --no-pager | head -n 50
check resource use for svc-19226
ps -eo pid,ppid,stat,cmd | grep svc-19226 | sort -nr
read journal entries for svc-19227
journalctl -u svc-19227.service --since '24 hours ago' -n 50 --output=short-iso | sort -n
show recent commits in /srv/svc-19228
git -C /srv/svc-19228 log --stat -n 20 --all | cut -d: -f1
inspect systemd unit state for svc-19229
systemctl disable svc-19229.socket --no-block | cut -d: -f1
query systemd status for svc-19230
systemctl stop svc-19230.timer | tail -n 50
locate matching files in /srv/svc-19231
find /srv/svc-19231 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + 2>&1 | tee /tmp/svc-19231.log
read container logs for svc-19232
docker logs --tail 100 svc-19232 2>&1 | sed -n '1,20p'
search text for svc-19233
grep -RIn 'WARN' /var/log/svc-19233.log --include='*.go' | awk '{print $2}'
search the svc-19234 directory tree
find /srv/svc-19234 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + | sort -k2
count matching processes for svc-19235
pgrep -o -f svc-19235 | cut -d, -f1
locate matching files in /srv/svc-19236
find /srv/svc-19236 -mindepth 1 -type f -name '*.tmp' -delete | grep -i error
list matching paths under /srv/svc-19237
find /srv/svc-19237 -type d -name '*.tmp' -size +10M -exec ls -lh {} + | tail -n 10
search text for svc-19238
grep -v '^#' /etc/svc-19238/config.ini --include='*.py' | tee -a /tmp/svc-19238.log
search the svc-19239 directory tree
find /srv/svc-19239 -type d -empty -mtime +7 -print | wc -l
count matches in svc-19240 data
grep -RInE 'WARN' /var/log/svc-19240.log --include='*.go' | sed -n '1,20p'
locate matching files in /srv/svc-19241
find /srv/svc-19241 -type f -name '*.log' -newermt '1 day ago' -print | grep -i error
list matching paths under /srv/svc-19242
find /srv/svc-19242 -type d -name '*.conf' -mtime +7 -print | awk '{print $1}'
show recent commits in /srv/svc-19243
git -C /srv/svc-19243 log --stat -n 50 --all | head -n 20
filter log content for svc-19244
grep -n -A3 -B3 'TODO' /srv/svc-19244 --include='*.go' | tac
validate JSON status for svc-19245
jq -e '.services | keys[]' /srv/svc-19245/health.json | head -n 50
run a background task for svc-19246
nice -n 10 sh -c 'grep -R TODO /srv/svc-19246 > /tmp/svc-19246.todo' | head -n 20
inspect recent changes in /srv/svc-19247
git -C /srv/svc-19247 log --stat -n 100 --decorate > /tmp/svc-19247.out
execute a container task for svc-19248
docker run --rm --network host alpine:3.20 sh -c 'cat /etc/os-release' 2>/dev/null | tee /tmp/svc-19248.out | head -n 20
read journal entries for svc-19249
journalctl --since 'today' -n 500 --no-pager | wc -l | tee /tmp/svc-19249.out | head -n 20
clean up selected files in /srv/svc-19250
find /srv/svc-19250 -type f -name '*.conf' -newermt '1 day ago' -print | tr -s ' '
summarize text columns for svc-19251
awk -F: '{sum += $5} END {print sum}' /srv/svc-19251/metrics.txt | head -n 10
inspect recent changes in /srv/svc-19252
git -C /srv/svc-19252 log --name-status -n 20 --grep='fix' | fold -w 120
find files under /srv/svc-19253
find /srv/svc-19253 -type d -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-19253.out
search the svc-19254 directory tree
find /srv/svc-19254 -type f -name '*.log' -size +50M -print | nl -ba
inspect running tasks for svc-19255
ps -p $(pgrep -f svc-19255) -o pid,cmd | head -n 50
extract JSON fields for svc-19256
jq -r '.status == "ok"' /srv/svc-19256/jobs.json | tee -a /tmp/svc-19256.log
list matching paths under /srv/svc-19257
find /srv/svc-19257 -mindepth 1 -type f -name '*.tmp' -exec gzip {} + 2>&1 | tee /tmp/svc-19257.log
query systemd status for svc-19258
systemctl enable --now svc-19258.service --no-pager > /tmp/svc-19258.out
filter JSON records for svc-19259
jq '.items[] | [.id, .name] | @tsv' /srv/svc-19259/health.json | sed 's/^/ /'
validate JSON status for svc-19260
jq -c '.metadata' /srv/svc-19260/config.json | grep -i error
show running containers for svc-19261
docker ps -q --format '{{.Names}}' --filter 'status=exited' | tail -n 50 | tee /tmp/svc-19261.out | head -n 20
inspect recent changes in /srv/svc-19262
git -C /srv/svc-19262 log --format='%h %ad %s' --date=short -n 100 --all > /tmp/svc-19262.out
query JSON data for svc-19263
jq '.items[] | [.id, .name] | @tsv' /srv/svc-19263/jobs.json | tee /tmp/svc-19263.out
search the svc-19264 directory tree
find /srv/svc-19264 -mindepth 1 -type f -name '*.conf' -exec ls -lh {} + | awk '{print $1}'
summarize git differences for /srv/svc-19265
git -C /srv/svc-19265 diff --stat --cached -- | head -n 5
find matching lines for svc-19266
grep -n -A3 -B3 'ERROR' /var/log/svc-19266.log --exclude='*.min.js' | tee -a /tmp/svc-19266.log
inspect recent changes in /srv/svc-19267
git -C /srv/svc-19267 log --format='%h %ad %s' --date=short -n 20 --since='1 week ago' | head -n 10
render the svc-19268 chart
helm list -n svc-19268 | wc -l
measure the size of svc-19269 data
wc -c /etc/svc-19269/config.ini | rev
clean up selected files in /srv/svc-19270
find /srv/svc-19270 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | cat
compare revisions in /srv/svc-19271
git -C /srv/svc-19271 diff --name-status HEAD~2..HEAD src/ | rev
inspect pending changes in /srv/svc-19272
git -C /srv/svc-19272 diff --check --cached src/ | head -n 20
search text for svc-19273
grep -Ril 'panic[(]' /srv/svc-19273 --include='*.go' | tee -a /tmp/svc-19273.log
filter log content for svc-19274
grep -RInE 'FIXME' /srv/svc-19274 | tee /tmp/svc-19274.out
validate JSON status for svc-19275
jq '.users[] | select(.active == true) | .email' /srv/svc-19275/data.json | rev
locate matching files in /srv/svc-19276
find /srv/svc-19276 -type d -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
inspect recent changes in /srv/svc-19277
git -C /srv/svc-19277 log --oneline -n 20 --grep='fix' | grep -v '^#'
find files under /srv/svc-19278
find /srv/svc-19278 -type f -empty -newermt '1 day ago' -exec ls -lh {} + || true
search the svc-19279 directory tree
find /srv/svc-19279 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
display docker container details for svc-19280
docker ps -a --no-trunc --filter 'status=exited' | sort | tee /tmp/svc-19280.out | head -n 20
locate matching files in /srv/svc-19281
find /srv/svc-19281 -type f -name '*.gz' -newermt '1 day ago' -print | sort -n