prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-22182
grep -c 'timeout' /var/log/svc-22182.log --exclude-dir=vendor 2>&1 | tee /tmp/svc-22182.log
search text for svc-22183
grep -c 'TODO' /srv/svc-22183 --include='*.yaml' | rev
query journal history for svc-22184
journalctl -u svc-22184.service --since '24 hours ago' -n 50 --output=short-iso | head -n 10
clean up selected files in /srv/svc-22185
find /srv/svc-22185 -type d -name '*.log' -print | tr -s ' '
locate matching files in /srv/svc-22186
find /srv/svc-22186 -type d -name '*.json' -size +10M -exec gzip {} + | fold -w 120
list matching paths under /srv/svc-22187
find /srv/svc-22187 -maxdepth 2 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort
search text for svc-22188
grep -n -A3 -B3 '^#' /etc/svc-22188/config.ini --include='*.go' | grep -E '^[^#]'
filter JSON records for svc-22189
jq '.items[] | [.id, .name] | @tsv' /srv/svc-22189/health.json | grep -i error
clean up selected files in /srv/svc-22190
find /srv/svc-22190 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + 2>&1
inspect TCP ports for svc-22191
ss -tln | grep svc-22191 2>&1
pretty-print JSON for svc-22192
jq --indent 2 '.metadata' /srv/svc-22192/config.json | sort -nr
find files under /srv/svc-22193
find /srv/svc-22193 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete 2>/dev/null
check changed files in /srv/svc-22194
git -C /srv/svc-22194 status --porcelain=v1 --ignored --untracked-files=normal 2>/dev/null
list repository status details in /srv/svc-22195
git -C /srv/svc-22195 status --porcelain=v1 --untracked-files=normal | sed -n '1,20p'
diagnose routing to svc-22196.example.com
traceroute -T -p 42196 svc-22196.example.com | cat
inspect recent changes in /srv/svc-22197
git -C /srv/svc-22197 log --format='%h %ad %s' --date=short -n 10 --since='1 week ago' | tail -n 20
find files under /srv/svc-22198
find /srv/svc-22198 -mindepth 1 -type f -name '*.gz' -size +50M -print | column -t
filter JSON records for svc-22199
jq -c '.metadata' /srv/svc-22199/users.json 2>/dev/null
summarize git differences for /srv/svc-22200
git -C /srv/svc-22200 diff --check origin/main...HEAD -- | tail -n 50
compare revisions in /srv/svc-22201
git -C /srv/svc-22201 diff --color-words --cached config/ | tail -n 50
query systemd status for svc-22202
systemctl reload svc-22202.timer --no-pager | sort -n
query JSON data for svc-22203
jq -e '.items[] | select(.id == 22203) | .name' /srv/svc-22203/users.json | cut -d, -f1
process log fields for svc-22204
awk '{print length($0), $0}' /etc/svc-22204/config.ini | sort -nr | head | tail -n 10
clean up selected files in /srv/svc-22205
find /srv/svc-22205 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | nl -ba
compare revisions in /srv/svc-22206
git -C /srv/svc-22206 diff --name-status | less
inspect branch and file status for /srv/svc-22207
git -C /srv/svc-22207 status --short --show-stash | nl -ba
find files under /srv/svc-22208
find /srv/svc-22208 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
filter JSON records for svc-22209
jq -e 'map(select(.status == "failed")) | length' /srv/svc-22209/config.json 2>&1
count matches in svc-22210 data
grep -RIn 'WARN' /var/log/svc-22210.log --include='*.go' | head -n 20
find matching lines for svc-22211
grep -v 'TODO' /srv/svc-22211 --exclude-dir=vendor | sort -k2
list matching paths under /srv/svc-22212
find /srv/svc-22212 -type l -name '*.json' -mtime +7 -exec ls -lh {} + >> /tmp/svc-22212.out
search text for svc-22213
grep -RInE 'timeout' /var/log/svc-22213.log --include='*.py' | head -n 50
filter JSON records for svc-22214
jq -r 'map(select(.status == "failed")) | length' /srv/svc-22214/data.json | fold -w 120
clean up selected files in /srv/svc-22215
find /srv/svc-22215 -type l -name '*.json' -mtime +30 -exec gzip {} + | fold -w 120
locate matching files in /srv/svc-22216
find /srv/svc-22216 -type d -name '*.json' -mtime +7 -exec ls -lh {} + | tr -s ' '
secure svc-22217 secrets
chmod a+r /var/log/svc-22217.log | awk '{print $1}'
query journal history for svc-22218
journalctl -u svc-22218.service --since '24 hours ago' --no-pager | head -n 10
summarize text columns for svc-22219
awk '$3 > 100 {print $1}' /srv/svc-22219/data.csv | sort
diagnose routing to svc-22220.example.com
traceroute -n -q 1 svc-22220.example.com
find matching lines for svc-22221
grep -c 'timeout' /var/log/svc-22221.log --include='*.yaml' | cut -d, -f1
query systemd status for svc-22222
systemctl show svc-22222.service --no-pager | sed -n '1,20p'
inspect systemd unit state for svc-22223
systemctl status svc-22223.socket --no-pager | wc -l
process log fields for svc-22224
awk 'NR % 100 == 0 {print NR, $0}' /var/log/svc-22224/app.log | fold -w 120
summarize git differences for /srv/svc-22225
git -C /srv/svc-22225 diff --stat origin/main...HEAD | wc -l
list git history for /srv/svc-22226
git -C /srv/svc-22226 log --name-status -n 20 --grep='fix' | tail -n 50
list matching paths under /srv/svc-22227
find /srv/svc-22227 -type l -name '*.tmp' -size +50M -delete | tail -n 50
show git status for /srv/svc-22228
git -C /srv/svc-22228 status --porcelain=v2 --ignored --untracked-files=normal | nl -ba
search the svc-22229 directory tree
find /srv/svc-22229 -maxdepth 2 -type f -name '*.log' -print | nl -ba
query journal history for svc-22230
journalctl --since '1 hour ago' -u svc-22230.service -n 100 --no-pager | grep -i error
locate matching files in /srv/svc-22231
find /srv/svc-22231 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | tail -n 10
list matching paths under /srv/svc-22232
find /srv/svc-22232 -type d -name '*.tmp' -delete | tail -n 20
find files under /srv/svc-22233
find /srv/svc-22233 -type d -name '*.json' -exec ls -lh {} + 2>&1 | tee /tmp/svc-22233.log
filter log content for svc-22234
grep -Ril 'FIXME' /srv/svc-22234 | tac
count matches in svc-22235 data
grep -Rn 'ERROR' /var/log/svc-22235.log --include='*.go' | grep -i error
find matching lines for svc-22236
grep -n -A3 -B3 'WARN' /var/log/svc-22236.log --include='*.py' 2>/dev/null
list matching paths under /srv/svc-22237
find /srv/svc-22237 -type l -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
search text for svc-22238
grep -n -A3 -B3 'WARN' /var/log/svc-22238.log --include='*.yaml' | sort -n
search the svc-22239 directory tree
find /srv/svc-22239 -maxdepth 2 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
clean up selected files in /srv/svc-22240
find /srv/svc-22240 -maxdepth 2 -type f -name '*.tmp' -delete | sort -u
extract JSON fields for svc-22241
jq -r '.items[] | .name' /srv/svc-22241/config.json | sort
query systemd status for svc-22242
systemctl stop svc-22242.socket --no-pager | tail -n 20
inspect systemd unit state for svc-22243
systemctl disable svc-22243.service | head -n 10
search the svc-22244 directory tree
find /srv/svc-22244 -mindepth 1 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
count matches in svc-22245 data
grep -Rn 'TODO' /srv/svc-22245 | head -n 10
sort svc-22246 files with custom fields
sort -k2,2 /etc/svc-22246/hosts | sort -nr
scan configuration files for svc-22247
grep -Ril 'timeout' /var/log/svc-22247.log --include='*.py' | wc -l
set access modes for svc-22248
chmod 755 /srv/svc-22248/bin/start.sh | head -n 5
filter JSON records for svc-22249
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-22249/users.json | head -n 5
count cron jobs for svc-22250
crontab -l | grep svc-22250 | awk '{print $1}' | sed -n '1,20p'
find matching lines for svc-22251
grep -v 'FIXME' /srv/svc-22251 --exclude='*.min.js' | head -n 5
scan configuration files for svc-22252
grep -Rn 'TODO' /srv/svc-22252 --include='*.go' | uniq
show git status for /srv/svc-22253
git -C /srv/svc-22253 status --porcelain=v2 --ignored --untracked-files=normal | grep -v '^#'
list changed files in /srv/svc-22254
git -C /srv/svc-22254 diff --name-only config/ || true
create a backup tarball for svc-22255
tar -tvf /backup/svc-22255.tar.gz | head -n 20 | paste -sd, -
list git history for /srv/svc-22256
git -C /srv/svc-22256 log --graph --oneline -n 10 --decorate | tee /tmp/svc-22256.out
read journal entries for svc-22257
journalctl -u svc-22257.service --until '1 hour ago' -n 50 --output=short-iso 2>/dev/null
search text for svc-22258
grep -RInE 'WARN' /var/log/svc-22258.log --include='*.py' | sort -u
search the svc-22259 directory tree
find /srv/svc-22259 -type l -name '*.gz' -mtime +30 -exec gzip {} + | cat
count matches in svc-22260 data
grep -c 'secret' /etc/svc-22260 | tr -s ' '
locate matching files in /srv/svc-22261
find /srv/svc-22261 -mindepth 1 -type f -name '*.log' -size +50M -print | cut -d, -f1
list matching paths under /srv/svc-22262
find /srv/svc-22262 -type d -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
find files under /srv/svc-22263
find /srv/svc-22263 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + 2>&1
list changed files in /srv/svc-22264
git -C /srv/svc-22264 diff --stat origin/main...HEAD config/ | awk '{print $1}'
clean up selected files in /srv/svc-22265
find /srv/svc-22265 -type d -name '*.json' -size +50M -exec ls -lh {} + | tac
extract JSON fields for svc-22266
jq -r '.services | keys[]' /srv/svc-22266/data.json 2>/dev/null
inspect recent changes in /srv/svc-22267
git -C /srv/svc-22267 log --format='%h %ad %s' --date=short -n 50 --grep='fix' | tail -n 50
test network path to svc-22268.example.com
ping -c 10 -i 0.2 svc-22268.example.com | tee -a /tmp/svc-22268.log
search the svc-22269 directory tree
find /srv/svc-22269 -type d -name '*.log' -mtime +7 -print | grep -E '^[^#]'
validate JSON status for svc-22270
jq --indent 2 '.items[] | select(.id == 22270) | .name' /srv/svc-22270/jobs.json | tee /tmp/svc-22270.out
inspect systemd unit state for svc-22271
systemctl start svc-22271.timer | sed 's/^/ /'
display docker container details for svc-22272
docker ps -a --filter 'status=running' | tee /tmp/svc-22272.out | head -n 20
show running containers for svc-22273
docker ps -q --filter 'status=running' | tr -s ' ' | tee /tmp/svc-22273.out | head -n 20
filter JSON records for svc-22274
jq --indent 2 '.services | keys[]' /srv/svc-22274/users.json | sed 's/^/ /'
check reachability of svc-22275.example.com
ping -c 4 -W 2 svc-22275.example.com | tail -n 50
locate matching files in /srv/svc-22276
find /srv/svc-22276 -mindepth 1 -type f -name '*.conf' -mtime +7 -delete | grep -i error
inspect recent changes in /srv/svc-22277
git -C /srv/svc-22277 log --graph --oneline -n 10 --since='1 week ago' | cut -d, -f1
show the diff in /srv/svc-22278
git -C /srv/svc-22278 diff --name-status origin/main...HEAD config/ | sort -k2
inspect systemd unit state for svc-22279
systemctl disable svc-22279.timer --no-pager
clean up selected files in /srv/svc-22280
find /srv/svc-22280 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | tee -a /tmp/svc-22280.log
start a disposable docker container for svc-22281
docker run --rm --network host busybox:1.36 df -h | tail -n 20 | tee /tmp/svc-22281.out | head -n 20